Class: Increase::Models::RealTimeDecision::DigitalWalletAuthentication

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

Overview

Defined Under Namespace

Modules: Channel, DigitalWallet, Result

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(card_id: , channel: , digital_wallet: , email: , one_time_passcode: , phone: , result: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::RealTimeDecision::DigitalWalletAuthentication for more details.

Fields related to a digital wallet authentication attempt.

Parameters:



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


Instance Attribute Details

#card_idString

The identifier of the Card that is being tokenized.

Returns:

  • (String)


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

required :card_id, String

#channelSymbol, Increase::Models::RealTimeDecision::DigitalWalletAuthentication::Channel

The channel to send the card user their one-time passcode.



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

required :channel, enum: -> { Increase::RealTimeDecision::DigitalWalletAuthentication::Channel }

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

The digital wallet app being used.



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

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

#emailString?

The email to send the one-time passcode to if ‘channel` is equal to `email`.

Returns:

  • (String, nil)


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

required :email, String, nil?: true

#one_time_passcodeString

The one-time passcode to send the card user.

Returns:

  • (String)


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

required :one_time_passcode, String

#phoneString?

The phone number to send the one-time passcode to if ‘channel` is equal to `sms`.

Returns:

  • (String, nil)


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

required :phone, String, nil?: true

#resultSymbol, ...

Whether your application successfully delivered the one-time passcode.



1579
1580
1581
1582
1583
# File 'lib/increase/models/real_time_decision.rb', line 1579

required :result,
enum: -> {
  Increase::RealTimeDecision::DigitalWalletAuthentication::Result
},
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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