Class: ModernTreasury::Models::ExternalAccountVerifyResponse::ExternalAccountVerificationAttempt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/external_account_verify_response.rb

Defined Under Namespace

Modules: PaymentType, Priority, Status

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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: , external_account_id: , live_mode: , object: , originating_account_id: , payment_type: , priority: , status: , updated_at: ) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::ExternalAccountVerifyResponse::ExternalAccountVerificationAttempt for more details.

Parameters:



# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 77


Instance Attribute Details

#created_atTime

Returns:

  • (Time)


22
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 22

required :created_at, Time

#external_account_idString

The ID of the external account.

Returns:

  • (String)


28
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 28

required :external_account_id, String

#idString

Returns:

  • (String)


17
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 17

required :id, String

#live_modeBoolean

This field will be true if this object exists in the live environment or false if it exists in the test environment.

Returns:

  • (Boolean)


35
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 35

required :live_mode, ModernTreasury::Internal::Type::Boolean

#objectString

Returns:

  • (String)


40
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 40

required :object, String

#originating_account_idString

The ID of the internal account where the micro-deposits originate from.

Returns:

  • (String)


46
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 46

required :originating_account_id, String

#payment_typeSymbol, ModernTreasury::Models::ExternalAccountVerifyResponse::ExternalAccountVerificationAttempt::PaymentType

The type of payment that can be made to this account. Can be ‘ach`, `eft`, or `rtp`.



53
54
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 53

required :payment_type,
enum: -> { ModernTreasury::Models::ExternalAccountVerifyResponse::ExternalAccountVerificationAttempt::PaymentType }

#prioritySymbol, ...

The priority of the payment. Can be ‘normal` or `high`.



60
61
62
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 60

required :priority,
enum: -> { ModernTreasury::Models::ExternalAccountVerifyResponse::ExternalAccountVerificationAttempt::Priority },
nil?: true

#statusSymbol, ModernTreasury::Models::ExternalAccountVerifyResponse::ExternalAccountVerificationAttempt::Status

The status of the verification attempt. Can be ‘pending_verification`, `verified`, `failed`, or `cancelled`.



69
70
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 69

required :status,
enum: -> { ModernTreasury::Models::ExternalAccountVerifyResponse::ExternalAccountVerificationAttempt::Status }

#updated_atTime

Returns:

  • (Time)


75
# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 75

required :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/modern_treasury/models/external_account_verify_response.rb', line 145