Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountDebitCardResource

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 10979

Instance Attribute Details

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

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



10863
10864
10865
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10863

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

#attributeString, ...

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



10872
10873
10874
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10872

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

#balanceString, ...

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



10881
10882
10883
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10881

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

#card_brandString, ...

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



10890
10891
10892
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10890

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

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

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



10898
10899
10900
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10898

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

Current consent status for data access on this account.



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

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

#created_atTime

Timestamp when the account was created.

Returns:

  • (Time)


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

required :created_at, Time

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

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



10906
10907
10908
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10906

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

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

Error details when an account is disabled.



10914
10915
10916
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10914

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

#holder_idString

The entity ID that owns this account.

Returns:

  • (String)


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

required :holder_id, String

#idString

Unique identifier for the account.

Returns:

  • (String)


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

required :id, String

#latest_verification_sessionString, ...

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



10923
10924
10925
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10923

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

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

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



10931
10932
10933
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10931

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

#metadataHash{Symbol=>Object}?

Arbitrary key-value metadata attached to the resource.

Returns:

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


10939
10940
10941
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10939

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.



10948
10949
10950
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10948

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

#payoffString, ...

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



10957
10958
10959
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10957

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

#productsArray<String>

Products currently active for this account.

Returns:

  • (Array<String>)


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

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

#restricted_productsArray<String>

Products restricted from this account.

Returns:

  • (Array<String>)


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

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

#sensitiveString, ...

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



10966
10967
10968
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10966

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

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

Current status of the account.



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

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

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



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

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

#updateString, ...

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



10975
10976
10977
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10975

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

#updated_atTime

Timestamp when the account was last updated.

Returns:

  • (Time)


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

required :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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