Sha256: 7805f1404b2e85f13be0845db0405d7bb63f3c537f0c7383245ddfb00235b5a4
Contents?: true
Size: 586 Bytes
Versions: 8
Compression:
Stored size: 586 Bytes
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe class OrderLineItemService < StripeService # When retrieving an order, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. def list(id, params = {}, opts = {}) request( method: :get, path: format("/v1/orders/%<id>s/line_items", { id: CGI.escape(id) }), params: params, opts: opts, base_address: :api ) end end end
Version data entries
8 entries across 8 versions & 1 rubygems