Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/method_ruby/models/account_retrieve_response.rb

Defined Under Namespace

Modules: Attribute, Balance, CardBrand, ConsentStatus, LatestVerificationSession, PaymentInstrument, Payoff, Sensitive, Status, Type, Update Classes: ACH, Clearing, DebitCard, Error, Liability

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(token: nil) ⇒ Object

Network token details. Present when type is network_token.

Parameters:

  • token (String) (defaults to: nil)

    The network token value.



# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7401

Instance Attribute Details

#achMethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::ACH?

ACH account details. Present when ‘type` is `ach`.



7285
7286
7287
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7285

optional :ach,
-> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::ACH },
nil?: true

#attributeString, ...

The latest attribute ID. This field is expandable. When expanded, returns the full AccountAttribute object.



7294
7295
7296
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7294

optional :attribute,
union: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Attribute },
nil?: true

#balanceString, ...

The latest balance ID. This field is expandable. When expanded, returns the full AccountBalance object.



7303
7304
7305
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7303

optional :balance,
union: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Balance },
nil?: true

#card_brandString, ...

The latest card brand ID. This field is expandable. When expanded, returns the full AccountCardBrand object.



7312
7313
7314
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7312

optional :card_brand,
union: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::CardBrand },
nil?: true

#clearingMethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Clearing?

Clearing account details. Present when ‘type` is `clearing`.



7320
7321
7322
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7320

optional :clearing,
-> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Clearing },
nil?: true

Current consent status for data access on this account.



7235
7236
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7235

required :consent_status,
enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::ConsentStatus }

#created_atTime

Timestamp when the account was created.

Returns:

  • (Time)


7242
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7242

required :created_at, Time

#debit_cardMethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::DebitCard?

Debit card account details. Present when ‘type` is `debit_card`.



7328
7329
7330
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7328

optional :debit_card,
-> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::DebitCard },
nil?: true

#errorMethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Error?

Error details when an account is disabled.



7336
7337
7338
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7336

optional :error,
-> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Error },
nil?: true

#holder_idString

The entity ID that owns this account.

Returns:

  • (String)


7248
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7248

required :holder_id, String

#idString

Unique identifier for the account.

Returns:

  • (String)


7229
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7229

required :id, String

#latest_verification_sessionString, ...

The latest verification session ID. This field is expandable. When expanded, returns the full AccountVerificationSession object.



7345
7346
7347
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7345

optional :latest_verification_session,
union: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession },
nil?: true

#liabilityMethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Liability?

Liability account details. Present when ‘type` is `liability`.



7353
7354
7355
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7353

optional :liability,
-> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Liability },
nil?: true

#metadataHash{Symbol=>Object}?

Arbitrary key-value metadata attached to the resource.

Returns:

  • (Hash{Symbol=>Object}, nil)


7361
7362
7363
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7361

optional :metadata,
MethodRuby::Internal::Type::HashOf[MethodRuby::Internal::Type::Unknown],
nil?: true

#payment_instrumentString, ...

The latest payment instrument ID. This field is expandable. When expanded, returns the full AccountPaymentInstrument object.



7370
7371
7372
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7370

optional :payment_instrument,
union: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::PaymentInstrument },
nil?: true

#payoffString, ...

The latest payoff ID. This field is expandable. When expanded, returns the full AccountPayoff object.



7379
7380
7381
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7379

optional :payoff,
union: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Payoff },
nil?: true

#productsArray<String>

Products currently active for this account.

Returns:

  • (Array<String>)


7254
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7254

required :products, MethodRuby::Internal::Type::ArrayOf[String]

#restricted_productsArray<String>

Products restricted from this account.

Returns:

  • (Array<String>)


7260
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7260

required :restricted_products, MethodRuby::Internal::Type::ArrayOf[String]

#sensitiveString, ...

The latest sensitive ID. This field is expandable. When expanded, returns the full AccountSensitive object.



7388
7389
7390
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7388

optional :sensitive,
union: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Sensitive },
nil?: true

#statusSymbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Status

Current status of the account.



7266
7267
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7266

required :status,
enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Status }

#typeSymbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Type



7272
7273
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7272

required :type,
enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Type }

#updateString, ...

The latest update ID. This field is expandable. When expanded, returns the full AccountUpdate object.



7397
7398
7399
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7397

optional :update,
union: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Update },
nil?: true

#updated_atTime

Timestamp when the account was last updated.

Returns:

  • (Time)


7279
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7279

required :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/method_ruby/models/account_retrieve_response.rb', line 7462