Class: Increase::Models::RealTimeDecision::DigitalWalletToken

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/real_time_decision.rb

Overview

Defined Under Namespace

Modules: Decision, DigitalWallet Classes: Device

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(identifier: ) ⇒ Object

Device that is being used to provision the digital wallet token.

Parameters:

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

    ID assigned to the device by the digital wallet provider.



# File 'lib/increase/models/real_time_decision.rb', line 1688


Instance Attribute Details

#card_idString

The identifier of the Card that is being tokenized.

Returns:

  • (String)


1667
# File 'lib/increase/models/real_time_decision.rb', line 1667

required :card_id, String

#decisionSymbol, ...

Whether or not the provisioning request was approved. This will be null until the real time decision is responded to.



1674
# File 'lib/increase/models/real_time_decision.rb', line 1674

required :decision, enum: -> { Increase::RealTimeDecision::DigitalWalletToken::Decision }, nil?: true

#deviceIncrease::Models::RealTimeDecision::DigitalWalletToken::Device

Device that is being used to provision the digital wallet token.



1680
# File 'lib/increase/models/real_time_decision.rb', line 1680

required :device, -> { Increase::RealTimeDecision::DigitalWalletToken::Device }

#digital_walletSymbol, Increase::Models::RealTimeDecision::DigitalWalletToken::DigitalWallet

The digital wallet app being used.



1686
# File 'lib/increase/models/real_time_decision.rb', line 1686

required :digital_wallet, enum: -> { Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/real_time_decision.rb', line 1715