Class: Lithic::Models::DigitalWalletTokenMetadata

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

Defined Under Namespace

Modules: TokenRequestorName Classes: PaymentAccountInfo

Instance Attribute 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(phone_number: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::DigitalWalletTokenMetadata::PaymentAccountInfo::AccountHolderData for more details.

Additional information that can be used to identify the account holder, such as name, address, etc

Parameters:

  • phone_number (String, nil) (defaults to: nil)

    The phone number, may contain country code along with phone number when countryD



# File 'lib/lithic/models/digital_wallet_token_metadata.rb', line 37


Instance Attribute Details

#payment_account_infoLithic::Models::DigitalWalletTokenMetadata::PaymentAccountInfo

Contains the information of the account responsible for the payment.



10
# File 'lib/lithic/models/digital_wallet_token_metadata.rb', line 10

required :payment_account_info, -> { Lithic::::PaymentAccountInfo }

#payment_app_instance_idString?

The identifier of the Payment App instance within a device that will be provisioned with a token

Returns:

  • (String, nil)


23
# File 'lib/lithic/models/digital_wallet_token_metadata.rb', line 23

optional :payment_app_instance_id, String, nil?: true

#statusString

The current status of the digital wallet token. Pending or declined.

Returns:

  • (String)


16
# File 'lib/lithic/models/digital_wallet_token_metadata.rb', line 16

required :status, String

#token_requestor_idString?

The party that requested the digitization

Returns:

  • (String, nil)


29
# File 'lib/lithic/models/digital_wallet_token_metadata.rb', line 29

optional :token_requestor_id, String

#token_requestor_nameSymbol, ...

Human-readable name of the wallet that the token_requestor_id maps to.



35
# File 'lib/lithic/models/digital_wallet_token_metadata.rb', line 35

optional :token_requestor_name, enum: -> { Lithic::::TokenRequestorName }