Class: MethodRuby::Models::AccountCreateResponse::Data::AccountLiabilityResource

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 3814

Instance Attribute Details

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

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



3698
3699
3700
# File 'lib/method_ruby/models/account_create_response.rb', line 3698

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

#attributeString, ...

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



3707
3708
3709
# File 'lib/method_ruby/models/account_create_response.rb', line 3707

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

#available_subscriptionsArray<String>

Subscriptions available to be enrolled for this account.

Returns:

  • (Array<String>)


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

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

#balanceString, ...

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



3716
3717
3718
# File 'lib/method_ruby/models/account_create_response.rb', line 3716

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

#card_brandString, ...

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



3725
3726
3727
# File 'lib/method_ruby/models/account_create_response.rb', line 3725

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

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

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



3733
3734
3735
# File 'lib/method_ruby/models/account_create_response.rb', line 3733

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

Current consent status for data access on this account.



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

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

#created_atTime

Timestamp when the account was created.

Returns:

  • (Time)


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

required :created_at, Time

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

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



3741
3742
3743
# File 'lib/method_ruby/models/account_create_response.rb', line 3741

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

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

Error details when an account is disabled.



3749
3750
3751
# File 'lib/method_ruby/models/account_create_response.rb', line 3749

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

#holder_idString

The entity ID that owns this account.

Returns:

  • (String)


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

required :holder_id, String

#idString

Unique identifier for the account.

Returns:

  • (String)


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

required :id, String

#latest_verification_sessionString, ...

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



3758
3759
3760
# File 'lib/method_ruby/models/account_create_response.rb', line 3758

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

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

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



3766
3767
3768
# File 'lib/method_ruby/models/account_create_response.rb', line 3766

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

#metadataHash{Symbol=>Object}?

Arbitrary key-value metadata attached to the resource.

Returns:

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


3774
3775
3776
# File 'lib/method_ruby/models/account_create_response.rb', line 3774

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.



3783
3784
3785
# File 'lib/method_ruby/models/account_create_response.rb', line 3783

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

#payoffString, ...

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



3792
3793
3794
# File 'lib/method_ruby/models/account_create_response.rb', line 3792

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

#productsArray<String>

Products currently active for this account.

Returns:

  • (Array<String>)


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

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

#restricted_productsArray<String>

Products restricted from this account.

Returns:

  • (Array<String>)


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

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

#restricted_subscriptionsArray<String>

Subscriptions restricted from this account.

Returns:

  • (Array<String>)


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

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

#sensitiveString, ...

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



3801
3802
3803
# File 'lib/method_ruby/models/account_create_response.rb', line 3801

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

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

Current status of the account.



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

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

#subscriptionsArray<String>

Subscriptions currently active for this account.

Returns:

  • (Array<String>)


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

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

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



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

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

#updateString, ...

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



3810
3811
3812
# File 'lib/method_ruby/models/account_create_response.rb', line 3810

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

#updated_atTime

Timestamp when the account was last updated.

Returns:

  • (Time)


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

required :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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