Class: Stripe::PaymentIntentAmountDetailsLineItemService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::PaymentIntentAmountDetailsLineItemService
- Defined in:
- lib/stripe/services/payment_intent_amount_details_line_item_service.rb
Instance Method Summary collapse
-
#list(intent, params = {}, opts = {}) ⇒ Object
Lists all LineItems of a given PaymentIntent.
Methods inherited from StripeService
#initialize, #request, #request_stream
Constructor Details
This class inherits a constructor from Stripe::StripeService
Instance Method Details
#list(intent, params = {}, opts = {}) ⇒ Object
Lists all LineItems of a given PaymentIntent.
7 8 9 10 11 12 13 14 15 |
# File 'lib/stripe/services/payment_intent_amount_details_line_item_service.rb', line 7 def list(intent, params = {}, opts = {}) request( method: :get, path: format("/v1/payment_intents/%<intent>s/amount_details_line_items", { intent: CGI.escape(intent) }), params: params, opts: opts, base_address: :api ) end |