Class: ModernTreasury::Models::ExternalAccountVerifyParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::ExternalAccountVerifyParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/modern_treasury/models/external_account_verify_params.rb
Overview
Defined Under Namespace
Modules: FallbackType, PaymentType, Priority
Instance Attribute Summary collapse
-
#currency ⇒ Symbol, ...
Defaults to the currency of the originating account.
-
#fallback_type ⇒ Symbol, ...
A payment type to fallback to if the original type is not valid for the receiving account.
-
#originating_account_id ⇒ String
The ID of the internal account where the micro-deposits originate from.
-
#payment_type ⇒ Symbol, ModernTreasury::Models::ExternalAccountVerifyParams::PaymentType
Can be ‘ach`, `eft`, or `rtp`.
-
#priority ⇒ Symbol, ...
Either ‘normal` or `high`.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(originating_account_id: , payment_type: , currency: nil, fallback_type: nil, priority: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ExternalAccountVerifyParams for more details.
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, 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(originating_account_id: , payment_type: , currency: nil, fallback_type: nil, priority: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::ExternalAccountVerifyParams for more details.
|
|
# File 'lib/modern_treasury/models/external_account_verify_params.rb', line 44
|
Instance Attribute Details
#currency ⇒ Symbol, ...
Defaults to the currency of the originating account.
27 |
# File 'lib/modern_treasury/models/external_account_verify_params.rb', line 27 optional :currency, enum: -> { ModernTreasury::Currency } |
#fallback_type ⇒ Symbol, ...
A payment type to fallback to if the original type is not valid for the receiving account. Currently, this only supports falling back from RTP to ACH (payment_type=rtp and fallback_type=ach)
35 |
# File 'lib/modern_treasury/models/external_account_verify_params.rb', line 35 optional :fallback_type, enum: -> { ModernTreasury::ExternalAccountVerifyParams::FallbackType } |
#originating_account_id ⇒ String
The ID of the internal account where the micro-deposits originate from. Both credit and debit capabilities must be enabled.
15 |
# File 'lib/modern_treasury/models/external_account_verify_params.rb', line 15 required :originating_account_id, String |
#payment_type ⇒ Symbol, ModernTreasury::Models::ExternalAccountVerifyParams::PaymentType
Can be ‘ach`, `eft`, or `rtp`.
21 |
# File 'lib/modern_treasury/models/external_account_verify_params.rb', line 21 required :payment_type, enum: -> { ModernTreasury::ExternalAccountVerifyParams::PaymentType } |
#priority ⇒ Symbol, ...
Either ‘normal` or `high`. For ACH payments, `high` represents a same-day ACH transfer. This will apply to both `payment_type` and `fallback_type`.
42 |
# File 'lib/modern_treasury/models/external_account_verify_params.rb', line 42 optional :priority, enum: -> { ModernTreasury::ExternalAccountVerifyParams::Priority } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/modern_treasury/models/external_account_verify_params.rb', line 100
|