Class: Lithic::Models::BookTransferCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::BookTransferCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/lithic/models/book_transfer_create_params.rb
Overview
Defined Under Namespace
Modules: Category, OnClosedAccount, Type
Instance Attribute Summary collapse
-
#amount ⇒ Integer
Amount to be transferred in the currency’s smallest unit (e.g., cents for USD).
- #category ⇒ Symbol, Lithic::Models::BookTransferCreateParams::Category
-
#external_id ⇒ String?
External ID defined by the customer.
-
#from_financial_account_token ⇒ String
Globally unique identifier for the financial account or card that will send the funds.
-
#memo ⇒ String?
Optional descriptor for the transfer.
-
#on_closed_account ⇒ Symbol, ...
What to do if the financial account is closed when posting an operation.
-
#subtype ⇒ String
The program specific subtype code for the specified category/type.
-
#to_financial_account_token ⇒ String
Globally unique identifier for the financial account or card that will receive the funds.
-
#token ⇒ String?
Customer-provided token that will serve as an idempotency token.
-
#type ⇒ Symbol, Lithic::Models::BookTransferCreateParams::Type
Type of the book transfer.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Lithic::Internal::Type::BaseModel
Instance Attribute Details
#amount ⇒ Integer
Amount to be transferred in the currency’s smallest unit (e.g., cents for USD). This should always be a positive value.
15 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 15 required :amount, Integer |
#category ⇒ Symbol, Lithic::Models::BookTransferCreateParams::Category
20 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 20 required :category, enum: -> { Lithic::BookTransferCreateParams::Category } |
#external_id ⇒ String?
External ID defined by the customer
59 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 59 optional :external_id, String |
#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.
27 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 27 required :from_financial_account_token, String |
#memo ⇒ String?
Optional descriptor for the transfer.
65 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 65 optional :memo, String |
#on_closed_account ⇒ Symbol, ...
What to do if the financial account is closed when posting an operation
71 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 71 optional :on_closed_account, enum: -> { Lithic::BookTransferCreateParams::OnClosedAccount } |
#subtype ⇒ String
The program specific subtype code for the specified category/type.
33 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 33 required :subtype, String |
#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.
40 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 40 required :to_financial_account_token, String |
#token ⇒ String?
Customer-provided token that will serve as an idempotency token. This token will become the transaction token.
53 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 53 optional :token, String |
#type ⇒ Symbol, Lithic::Models::BookTransferCreateParams::Type
Type of the book transfer
46 |
# File 'lib/lithic/models/book_transfer_create_params.rb', line 46 required :type, enum: -> { Lithic::BookTransferCreateParams::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/book_transfer_create_params.rb', line 112
|