Class: MethodRuby::Models::AccountCreateResponse::Data::AccountClearingResource

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/method_ruby/models/account_create_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_create_response.rb', line 7398

Instance Attribute Details

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

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



7282
7283
7284
# File 'lib/method_ruby/models/account_create_response.rb', line 7282

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

#attributeString, ...

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



7291
7292
7293
# File 'lib/method_ruby/models/account_create_response.rb', line 7291

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

#balanceString, ...

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



7300
7301
7302
# File 'lib/method_ruby/models/account_create_response.rb', line 7300

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

#card_brandString, ...

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



7309
7310
7311
# File 'lib/method_ruby/models/account_create_response.rb', line 7309

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

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

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



7317
7318
7319
# File 'lib/method_ruby/models/account_create_response.rb', line 7317

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

Current consent status for data access on this account.



7232
7233
# File 'lib/method_ruby/models/account_create_response.rb', line 7232

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

#created_atTime

Timestamp when the account was created.

Returns:

  • (Time)


7239
# File 'lib/method_ruby/models/account_create_response.rb', line 7239

required :created_at, Time

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

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



7325
7326
7327
# File 'lib/method_ruby/models/account_create_response.rb', line 7325

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

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

Error details when an account is disabled.



7333
7334
7335
# File 'lib/method_ruby/models/account_create_response.rb', line 7333

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

#holder_idString

The entity ID that owns this account.

Returns:

  • (String)


7245
# File 'lib/method_ruby/models/account_create_response.rb', line 7245

required :holder_id, String

#idString

Unique identifier for the account.

Returns:

  • (String)


7226
# File 'lib/method_ruby/models/account_create_response.rb', line 7226

required :id, String

#latest_verification_sessionString, ...

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



7342
7343
7344
# File 'lib/method_ruby/models/account_create_response.rb', line 7342

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

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

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



7350
7351
7352
# File 'lib/method_ruby/models/account_create_response.rb', line 7350

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

#metadataHash{Symbol=>Object}?

Arbitrary key-value metadata attached to the resource.

Returns:

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


7358
7359
7360
# File 'lib/method_ruby/models/account_create_response.rb', line 7358

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.



7367
7368
7369
# File 'lib/method_ruby/models/account_create_response.rb', line 7367

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

#payoffString, ...

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



7376
7377
7378
# File 'lib/method_ruby/models/account_create_response.rb', line 7376

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

#productsArray<String>

Products currently active for this account.

Returns:

  • (Array<String>)


7251
# File 'lib/method_ruby/models/account_create_response.rb', line 7251

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

#restricted_productsArray<String>

Products restricted from this account.

Returns:

  • (Array<String>)


7257
# File 'lib/method_ruby/models/account_create_response.rb', line 7257

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

#sensitiveString, ...

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



7385
7386
7387
# File 'lib/method_ruby/models/account_create_response.rb', line 7385

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

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

Current status of the account.



7263
7264
# File 'lib/method_ruby/models/account_create_response.rb', line 7263

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

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



7269
7270
# File 'lib/method_ruby/models/account_create_response.rb', line 7269

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

#updateString, ...

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



7394
7395
7396
# File 'lib/method_ruby/models/account_create_response.rb', line 7394

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

#updated_atTime

Timestamp when the account was last updated.

Returns:

  • (Time)


7276
# File 'lib/method_ruby/models/account_create_response.rb', line 7276

required :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/method_ruby/models/account_create_response.rb', line 7459