Class: Stripe::PaymentLinkLineItemService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::PaymentLinkLineItemService
- Defined in:
- lib/stripe/services/payment_link_line_item_service.rb
Instance Method Summary collapse
-
#list(payment_link, params = {}, opts = {}) ⇒ Object
When retrieving a payment link, there is an includable line_items property containing the first handful of those items.
Methods inherited from StripeService
#initialize, #request, #request_stream
Constructor Details
This class inherits a constructor from Stripe::StripeService
Instance Method Details
#list(payment_link, params = {}, opts = {}) ⇒ Object
When retrieving a payment link, 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.
7 8 9 10 11 12 13 14 15 |
# File 'lib/stripe/services/payment_link_line_item_service.rb', line 7 def list(payment_link, params = {}, opts = {}) request( method: :get, path: format("/v1/payment_links/%<payment_link>s/line_items", { payment_link: CGI.escape(payment_link) }), params: params, opts: opts, base_address: :api ) end |