Class: MethodRuby::Models::AccountCreateResponse::Data::AccountDebitCardResource

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 10976

Instance Attribute Details

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

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



10860
10861
10862
# File 'lib/method_ruby/models/account_create_response.rb', line 10860

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

#attributeString, ...

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



10869
10870
10871
# File 'lib/method_ruby/models/account_create_response.rb', line 10869

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

#balanceString, ...

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



10878
10879
10880
# File 'lib/method_ruby/models/account_create_response.rb', line 10878

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

#card_brandString, ...

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



10887
10888
10889
# File 'lib/method_ruby/models/account_create_response.rb', line 10887

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

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

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



10895
10896
10897
# File 'lib/method_ruby/models/account_create_response.rb', line 10895

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

Current consent status for data access on this account.



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

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

#created_atTime

Timestamp when the account was created.

Returns:

  • (Time)


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

required :created_at, Time

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

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



10903
10904
10905
# File 'lib/method_ruby/models/account_create_response.rb', line 10903

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

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

Error details when an account is disabled.



10911
10912
10913
# File 'lib/method_ruby/models/account_create_response.rb', line 10911

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

#holder_idString

The entity ID that owns this account.

Returns:

  • (String)


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

required :holder_id, String

#idString

Unique identifier for the account.

Returns:

  • (String)


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

required :id, String

#latest_verification_sessionString, ...

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



10920
10921
10922
# File 'lib/method_ruby/models/account_create_response.rb', line 10920

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

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

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



10928
10929
10930
# File 'lib/method_ruby/models/account_create_response.rb', line 10928

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

#metadataHash{Symbol=>Object}?

Arbitrary key-value metadata attached to the resource.

Returns:

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


10936
10937
10938
# File 'lib/method_ruby/models/account_create_response.rb', line 10936

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.



10945
10946
10947
# File 'lib/method_ruby/models/account_create_response.rb', line 10945

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

#payoffString, ...

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



10954
10955
10956
# File 'lib/method_ruby/models/account_create_response.rb', line 10954

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

#productsArray<String>

Products currently active for this account.

Returns:

  • (Array<String>)


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

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

#restricted_productsArray<String>

Products restricted from this account.

Returns:

  • (Array<String>)


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

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

#sensitiveString, ...

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



10963
10964
10965
# File 'lib/method_ruby/models/account_create_response.rb', line 10963

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

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

Current status of the account.



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

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

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



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

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

#updateString, ...

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



10972
10973
10974
# File 'lib/method_ruby/models/account_create_response.rb', line 10972

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

#updated_atTime

Timestamp when the account was last updated.

Returns:

  • (Time)


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

required :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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