Class: Increase::Models::CardUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/increase/models/card_update_params.rb

Overview

Defined Under Namespace

Modules: Status Classes: BillingAddress, DigitalWallet

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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 DigitalWallet for more details.

The contact information used in the two-factor steps for digital wallet card creation. At least one field must be present to complete the digital wallet steps.

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 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/card_update_params.rb', line 90


Instance Attribute Details

#billing_addressIncrease::Models::CardUpdateParams::BillingAddress?

The card’s updated billing address.



14
# File 'lib/increase/models/card_update_params.rb', line 14

optional :billing_address, -> { Increase::CardUpdateParams::BillingAddress }

#descriptionString?

The description you choose to give the card.

Returns:

  • (String, nil)


20
# File 'lib/increase/models/card_update_params.rb', line 20

optional :description, String

#digital_walletIncrease::Models::CardUpdateParams::DigitalWallet?

The contact information used in the two-factor steps for digital wallet card creation. At least one field must be present to complete the digital wallet steps.



28
# File 'lib/increase/models/card_update_params.rb', line 28

optional :digital_wallet, -> { Increase::CardUpdateParams::DigitalWallet }

#entity_idString?

The Entity the card belongs to. You only need to supply this in rare situations when the card is not for the Account holder.

Returns:

  • (String, nil)


35
# File 'lib/increase/models/card_update_params.rb', line 35

optional :entity_id, String

#statusSymbol, ...

The status to update the Card with.



41
# File 'lib/increase/models/card_update_params.rb', line 41

optional :status, enum: -> { Increase::CardUpdateParams::Status }