Class: Stripe::V2::MoneyManagement::TransactionEntryService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::V2::MoneyManagement::TransactionEntryService
- Defined in:
- lib/stripe/services/v2/money_management/transaction_entry_service.rb
Defined Under Namespace
Classes: ListParams, RetrieveParams
Instance Method Summary collapse
-
#list(params = {}, opts = {}) ⇒ Object
Returns a list of TransactionEntries that match the provided filters.
-
#retrieve(id, params = {}, opts = {}) ⇒ Object
Retrieves the details of a TransactionEntry by ID.
Methods inherited from StripeService
#initialize, #request, #request_stream
Constructor Details
This class inherits a constructor from Stripe::StripeService
Instance Method Details
#list(params = {}, opts = {}) ⇒ Object
Returns a list of TransactionEntries that match the provided filters.
46 47 48 49 50 51 52 53 54 |
# File 'lib/stripe/services/v2/money_management/transaction_entry_service.rb', line 46 def list(params = {}, opts = {}) request( method: :get, path: "/v2/money_management/transaction_entries", params: params, opts: opts, base_address: :api ) end |
#retrieve(id, params = {}, opts = {}) ⇒ Object
Retrieves the details of a TransactionEntry by ID.
57 58 59 60 61 62 63 64 65 |
# File 'lib/stripe/services/v2/money_management/transaction_entry_service.rb', line 57 def retrieve(id, params = {}, opts = {}) request( method: :get, path: format("/v2/money_management/transaction_entries/%<id>s", { id: CGI.escape(id) }), params: params, opts: opts, base_address: :api ) end |