mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-22 00:05:58 -05:00
31 lines
827 B
Ruby
31 lines
827 B
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
module Treasury
|
|
# TransactionEntries represent individual units of money movements within a single [Transaction](https://stripe.com/docs/api#transactions).
|
|
class TransactionEntry < APIResource
|
|
extend Stripe::APIOperations::List
|
|
|
|
OBJECT_NAME = "treasury.transaction_entry"
|
|
def self.object_name
|
|
"treasury.transaction_entry"
|
|
end
|
|
|
|
# Retrieves a list of TransactionEntry objects.
|
|
def self.list(filters = {}, opts = {})
|
|
request_stripe_object(
|
|
method: :get,
|
|
path: "/v1/treasury/transaction_entries",
|
|
params: filters,
|
|
opts: opts
|
|
)
|
|
end
|
|
|
|
def self.resource_url
|
|
"/v1/treasury/transaction_entries"
|
|
end
|
|
end
|
|
end
|
|
end
|