Class: Lithic::Models::NonPCICard::Funding

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/non_pci_card.rb

Overview

See Also:

Defined Under Namespace

Modules: State, Type

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:, created:, last_four:, state:, type:, account_name: nil, nickname: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::NonPCICard::Funding for more details.

Deprecated: Funding account for the card.

accoun



# File 'lib/lithic/models/non_pci_card.rb', line 336


Instance Attribute Details

#account_nameString?

Account name identifying the funding source. This may be ‘null`.



328
# File 'lib/lithic/models/non_pci_card.rb', line 328

optional :account_name, String

#createdTime

An RFC 3339 string representing when this funding source was added to the Lithic account. This may be ‘null`. UTC time zone.



299
# File 'lib/lithic/models/non_pci_card.rb', line 299

required :created, Time

#last_fourString

The last 4 digits of the account (e.g. bank account, debit card) associated with this FundingAccount. This may be null.



306
# File 'lib/lithic/models/non_pci_card.rb', line 306

required :last_four, String

#nicknameString?

The nickname given to the ‘FundingAccount` or `null` if it has no nickname.



334
# File 'lib/lithic/models/non_pci_card.rb', line 334

optional :nickname, String

#stateSymbol, Lithic::Models::NonPCICard::Funding::State

State of funding source. Funding source states: _ ‘ENABLED` - The funding account is available to use for card creation and transactions. _ `PENDING` - The funding account is still being verified e.g. bank micro-deposits verification. * `DELETED` - The founding account has been deleted.



315
# File 'lib/lithic/models/non_pci_card.rb', line 315

required :state, enum: -> { Lithic::NonPCICard::Funding::State }

#tokenString

A globally unique identifier for this FundingAccount.



292
# File 'lib/lithic/models/non_pci_card.rb', line 292

required :token, String

#typeSymbol, Lithic::Models::NonPCICard::Funding::Type

Types of funding source: _ ‘DEPOSITORY_CHECKING` - Bank checking account. _ `DEPOSITORY_SAVINGS` - Bank savings account.



322
# File 'lib/lithic/models/non_pci_card.rb', line 322

required :type, enum: -> { Lithic::NonPCICard::Funding::Type }

Class Method Details

.valuesArray<Symbol>



# File 'lib/lithic/models/non_pci_card.rb', line 370