Class: Stripe::Tax::TransactionLineItemService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::Tax::TransactionLineItemService
- Defined in:
- lib/stripe/services/tax/transaction_line_item_service.rb
Instance Method Summary collapse
-
#list(transaction, params = {}, opts = {}) ⇒ Object
Retrieves the line items of a committed standalone transaction as a collection.
Methods inherited from StripeService
#initialize, #request, #request_stream
Constructor Details
This class inherits a constructor from Stripe::StripeService
Instance Method Details
#list(transaction, params = {}, opts = {}) ⇒ Object
Retrieves the line items of a committed standalone transaction as a collection.
8 9 10 11 12 13 14 15 16 |
# File 'lib/stripe/services/tax/transaction_line_item_service.rb', line 8 def list(transaction, params = {}, opts = {}) request( method: :get, path: format("/v1/tax/transactions/%<transaction>s/line_items", { transaction: CGI.escape(transaction) }), params: params, opts: opts, base_address: :api ) end |