Class: Increase::Models::CardCreateParams::DigitalWallet

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

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

Some parameter documentations has been truncated, see Increase::Models::CardCreateParams::DigitalWallet for more details.

The contact information used in the two-factor steps for digital wallet card creation. To add the card to a digital wallet, you may supply an email or phone number with this request. Otherwise, subscribe and then action a Real Time Decision with the category ‘digital_wallet_token_requested` or `digital_wallet_authentication_requested`.

Parameters:

  • digital_card_profile_id (String) (defaults to: nil)

    The digital card profile assigned to this digital card.

  • email (String) (defaults to: nil)

    An email address that can be used to contact and verify the cardholder via one-t

  • phone (String) (defaults to: nil)

    A phone number that can be used to contact and verify the cardholder via one-tim



# File 'lib/increase/models/card_create_params.rb', line 127

Instance Attribute Details

#digital_card_profile_idString?

The digital card profile assigned to this digital card.

Returns:

  • (String, nil)


111
# File 'lib/increase/models/card_create_params.rb', line 111

optional :digital_card_profile_id, String

#emailString?

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

Returns:

  • (String, nil)


118
# File 'lib/increase/models/card_create_params.rb', line 118

optional :email, String

#phoneString?

A phone number that can be used to contact and verify the cardholder via one-time passcode over SMS.

Returns:

  • (String, nil)


125
# File 'lib/increase/models/card_create_params.rb', line 125

optional :phone, String