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, 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 1200

Instance Attribute Details

#card_idString

The identifier of the Card that is being tokenized.

Returns:

  • (String)


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

required :card_id, String

#card_profile_idString?

The identifier of the Card Profile that was set via the real time decision. This will be null until the real time decision is responded to or if the real time decision did not set a card profile.

Returns:

  • (String, nil)


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

required :card_profile_id, String, nil?: true

#decisionSymbol, ...

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



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

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.



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

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

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

The digital wallet app being used.



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

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 1229