Class: Lithic::Models::BookTransferResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::BookTransferResponse
- Defined in:
- lib/lithic/models/book_transfer_response.rb
Overview
Direct Known Subclasses
BookTransferTransactionCreatedWebhookEvent, BookTransferTransactionUpdatedWebhookEvent
Defined Under Namespace
Modules: Category, Result, Status Classes: Event, TransactionSeries
Instance Attribute Summary collapse
- #category ⇒ Symbol, Lithic::Models::BookTransferResponse::Category
-
#created ⇒ Time
ISO 8601 timestamp of when the transaction was created.
-
#currency ⇒ String
3-character alphabetic ISO 4217 code for the settling currency of the transaction.
-
#events ⇒ Array<Lithic::Models::BookTransferResponse::Event>
A list of all financial events that have modified this transfer.
-
#external_id ⇒ String?
External ID defined by the customer.
-
#external_resource ⇒ Lithic::Models::ExternalResource?
External resource associated with the management operation.
-
#family ⇒ Symbol, :TRANSFER
TRANSFER - Book Transfer Transaction.
-
#from_financial_account_token ⇒ String
Globally unique identifier for the financial account or card that will send the funds.
-
#pending_amount ⇒ Integer
Pending amount of the transaction in the currency’s smallest unit (e.g., cents), including any acquirer fees.
- #result ⇒ Symbol, Lithic::Models::BookTransferResponse::Result
-
#settled_amount ⇒ Integer
Amount of the transaction that has been settled in the currency’s smallest unit (e.g., cents).
-
#status ⇒ Symbol, Lithic::Models::BookTransferResponse::Status
The status of the transaction.
-
#to_financial_account_token ⇒ String
Globally unique identifier for the financial account or card that will receive the funds.
-
#token ⇒ String
Unique identifier for the transaction.
-
#transaction_series ⇒ Lithic::Models::BookTransferResponse::TransactionSeries?
A series of transactions that are grouped together.
-
#updated ⇒ Time
ISO 8601 timestamp of when the transaction was last updated.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(token:, category:, created:, currency:, events:, from_financial_account_token:, pending_amount:, result:, settled_amount:, status:, to_financial_account_token:, updated:, external_id: nil, external_resource: nil, transaction_series: nil, family: :TRANSFER) ⇒ Object
constructor
Some parameter documentations has been truncated, see BookTransferResponse 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(token:, category:, created:, currency:, events:, from_financial_account_token:, pending_amount:, result:, settled_amount:, status:, to_financial_account_token:, updated:, external_id: nil, external_resource: nil, transaction_series: nil, family: :TRANSFER) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::BookTransferResponse for more details.
Book transfer transaction
|
|
# File 'lib/lithic/models/book_transfer_response.rb', line 109
|
Instance Attribute Details
#category ⇒ Symbol, Lithic::Models::BookTransferResponse::Category
16 |
# File 'lib/lithic/models/book_transfer_response.rb', line 16 required :category, enum: -> { Lithic::BookTransferResponse::Category } |
#created ⇒ Time
ISO 8601 timestamp of when the transaction was created
22 |
# File 'lib/lithic/models/book_transfer_response.rb', line 22 required :created, Time |
#currency ⇒ String
3-character alphabetic ISO 4217 code for the settling currency of the transaction
29 |
# File 'lib/lithic/models/book_transfer_response.rb', line 29 required :currency, String |
#events ⇒ Array<Lithic::Models::BookTransferResponse::Event>
A list of all financial events that have modified this transfer
35 |
# File 'lib/lithic/models/book_transfer_response.rb', line 35 required :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::BookTransferResponse::Event] } |
#external_id ⇒ String?
External ID defined by the customer
95 |
# File 'lib/lithic/models/book_transfer_response.rb', line 95 optional :external_id, String, nil?: true |
#external_resource ⇒ Lithic::Models::ExternalResource?
External resource associated with the management operation
101 |
# File 'lib/lithic/models/book_transfer_response.rb', line 101 optional :external_resource, -> { Lithic::ExternalResource }, nil?: true |
#family ⇒ Symbol, :TRANSFER
TRANSFER - Book Transfer Transaction
41 |
# File 'lib/lithic/models/book_transfer_response.rb', line 41 required :family, const: :TRANSFER |
#from_financial_account_token ⇒ String
Globally unique identifier for the financial account or card that will send the funds. Accepted type dependent on the program’s use case
48 |
# File 'lib/lithic/models/book_transfer_response.rb', line 48 required :from_financial_account_token, String |
#pending_amount ⇒ Integer
Pending amount of the transaction in the currency’s smallest unit (e.g., cents), including any acquirer fees.
The value of this field will go to zero over time once the financial transaction is settled.
58 |
# File 'lib/lithic/models/book_transfer_response.rb', line 58 required :pending_amount, Integer |
#result ⇒ Symbol, Lithic::Models::BookTransferResponse::Result
63 |
# File 'lib/lithic/models/book_transfer_response.rb', line 63 required :result, enum: -> { Lithic::BookTransferResponse::Result } |
#settled_amount ⇒ Integer
Amount of the transaction that has been settled in the currency’s smallest unit (e.g., cents)
70 |
# File 'lib/lithic/models/book_transfer_response.rb', line 70 required :settled_amount, Integer |
#status ⇒ Symbol, Lithic::Models::BookTransferResponse::Status
The status of the transaction
76 |
# File 'lib/lithic/models/book_transfer_response.rb', line 76 required :status, enum: -> { Lithic::BookTransferResponse::Status } |
#to_financial_account_token ⇒ String
Globally unique identifier for the financial account or card that will receive the funds. Accepted type dependent on the program’s use case
83 |
# File 'lib/lithic/models/book_transfer_response.rb', line 83 required :to_financial_account_token, String |
#token ⇒ String
Unique identifier for the transaction
11 |
# File 'lib/lithic/models/book_transfer_response.rb', line 11 required :token, String |
#transaction_series ⇒ Lithic::Models::BookTransferResponse::TransactionSeries?
A series of transactions that are grouped together
107 |
# File 'lib/lithic/models/book_transfer_response.rb', line 107 optional :transaction_series, -> { Lithic::BookTransferResponse::TransactionSeries }, nil?: true |
#updated ⇒ Time
ISO 8601 timestamp of when the transaction was last updated
89 |
# File 'lib/lithic/models/book_transfer_response.rb', line 89 required :updated, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/book_transfer_response.rb', line 161
|