Class: Lithic::Models::TokenInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::TokenInfo
- Defined in:
- lib/lithic/models/token_info.rb
Defined Under Namespace
Modules: WalletType
Instance Attribute Summary collapse
-
#wallet_type ⇒ Symbol, Lithic::Models::TokenInfo::WalletType
The wallet_type field will indicate the source of the token.
Instance Method Summary collapse
-
#initialize(wallet_type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see TokenInfo for more details.
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(wallet_type:) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::TokenInfo for more details.
|
|
# File 'lib/lithic/models/token_info.rb', line 15
|
Instance Attribute Details
#wallet_type ⇒ Symbol, Lithic::Models::TokenInfo::WalletType
The wallet_type field will indicate the source of the token. Possible token sources include digital wallets (Apple, Google, or Samsung Pay), merchant tokenization, and “other” sources like in-flight commerce. Masterpass is not currently supported and is included for future use.
13 |
# File 'lib/lithic/models/token_info.rb', line 13 required :wallet_type, enum: -> { Lithic::TokenInfo::WalletType } |