Class: Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken

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

Defined Under Namespace

Classes: Approval, Decline

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(email: nil, phone: nil) ⇒ Object

Some parameter documentations has been truncated, see Approval for more details.

If your application approves the provisioning attempt, this contains metadata about the digital wallet token that will be generated.

Parameters:

  • email (String) (defaults to: nil)

    An email address that can be used to verify the cardholder via one-time passcode

  • phone (String) (defaults to: nil)

    A phone number that can be used to verify the cardholder via one-time passcode o



# File 'lib/increase/models/real_time_decision_action_params.rb', line 409

Instance Attribute Details

#approvalIncrease::Models::RealTimeDecisionActionParams::DigitalWalletToken::Approval?

If your application approves the provisioning attempt, this contains metadata about the digital wallet token that will be generated.



400
# File 'lib/increase/models/real_time_decision_action_params.rb', line 400

optional :approval, -> { Increase::RealTimeDecisionActionParams::DigitalWalletToken::Approval }

#declineIncrease::Models::RealTimeDecisionActionParams::DigitalWalletToken::Decline?

If your application declines the provisioning attempt, this contains details about the decline.



407
# File 'lib/increase/models/real_time_decision_action_params.rb', line 407

optional :decline, -> { Increase::RealTimeDecisionActionParams::DigitalWalletToken::Decline }