Class: Dodopayments::Models::Payouts::Breakup::DetailListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::Payouts::Breakup::DetailListResponse
- Defined in:
- lib/dodopayments/models/payouts/breakup/detail_list_response.rb
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Time
Timestamp when this entry was created.
-
#description ⇒ String?
Human-readable description of the transaction.
-
#event_type ⇒ String
The type of balance ledger event (e.g., “payment”, “refund”, “dispute”, “payment_fees”).
-
#id ⇒ String
Unique identifier of the balance ledger entry.
-
#original_amount ⇒ Integer
Original amount in the original currency, in that currency’s smallest unit (cents for USD, yen for JPY, fils for KWD).
-
#original_currency ⇒ String
Original currency as ISO 4217 code (e.g., “USD”, “EUR”).
-
#payout_currency_amount ⇒ Integer
Amount in the payout’s currency, in that currency’s smallest unit (cents for USD, yen for JPY, fils for KWD).
-
#reference_object_id ⇒ String?
ID of the related object (e.g., payment ID, refund ID) if applicable.
-
#usd_equivalent_amount ⇒ Integer
USD equivalent of the original amount (in cents).
Instance Method Summary collapse
-
#initialize(id:, created_at:, event_type:, original_amount:, original_currency:, payout_currency_amount:, usd_equivalent_amount:, description: nil, reference_object_id: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see DetailListResponse for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, created_at:, event_type:, original_amount:, original_currency:, payout_currency_amount:, usd_equivalent_amount:, description: nil, reference_object_id: nil) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::Payouts::Breakup::DetailListResponse for more details.
Individual balance ledger entry for a payout, with amounts pro-rated into the payout’s currency.
|
|
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 67
|
Instance Attribute Details
#created_at ⇒ Time
Timestamp when this entry was created.
19 |
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 19 required :created_at, Time |
#description ⇒ String?
Human-readable description of the transaction.
59 |
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 59 optional :description, String, nil?: true |
#event_type ⇒ String
The type of balance ledger event (e.g., “payment”, “refund”, “dispute”, “payment_fees”).
26 |
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 26 required :event_type, String |
#id ⇒ String
Unique identifier of the balance ledger entry.
13 |
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 13 required :id, String |
#original_amount ⇒ Integer
Original amount in the original currency, in that currency’s smallest unit (cents for USD, yen for JPY, fils for KWD).
33 |
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 33 required :original_amount, Integer |
#original_currency ⇒ String
Original currency as ISO 4217 code (e.g., “USD”, “EUR”).
39 |
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 39 required :original_currency, String |
#payout_currency_amount ⇒ Integer
Amount in the payout’s currency, in that currency’s smallest unit (cents for USD, yen for JPY, fils for KWD). Uses cumulative rounding to ensure sum matches payout total exactly.
47 |
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 47 required :payout_currency_amount, Integer |
#reference_object_id ⇒ String?
ID of the related object (e.g., payment ID, refund ID) if applicable.
65 |
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 65 optional :reference_object_id, String, nil?: true |
#usd_equivalent_amount ⇒ Integer
USD equivalent of the original amount (in cents).
53 |
# File 'lib/dodopayments/models/payouts/breakup/detail_list_response.rb', line 53 required :usd_equivalent_amount, Integer |