Class: Increase::Models::Card

Inherits:
BaseModel show all
Defined in:
lib/increase/models/card.rb

Defined Under Namespace

Classes: BillingAddress, DigitalWallet

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#account_idString

The identifier for the account this card belongs to.

Returns:

  • (String)


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

required :account_id, String

#billing_addressIncrease::Models::Card::BillingAddress

The Card's billing address.



19
# File 'lib/increase/models/card.rb', line 19

required :billing_address, -> { Increase::Models::Card::BillingAddress }

#created_atString

The ISO 8601 date and time at which the Card was created.

Returns:

  • (String)


24
# File 'lib/increase/models/card.rb', line 24

required :created_at, String

#descriptionString

The card's description for display purposes.

Returns:

  • (String)


29
# File 'lib/increase/models/card.rb', line 29

required :description, String

#digital_walletIncrease::Models::Card::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.



34
# File 'lib/increase/models/card.rb', line 34

required :digital_wallet, -> { Increase::Models::Card::DigitalWallet }

#entity_idString

The identifier for the entity associated with this card.

Returns:

  • (String)


39
# File 'lib/increase/models/card.rb', line 39

required :entity_id, String

#expiration_monthInteger

The month the card expires in M format (e.g., August is 8).

Returns:

  • (Integer)


44
# File 'lib/increase/models/card.rb', line 44

required :expiration_month, Integer

#expiration_yearInteger

The year the card expires in YYYY format (e.g., 2025).

Returns:

  • (Integer)


49
# File 'lib/increase/models/card.rb', line 49

required :expiration_year, Integer

#idString

The card identifier.

Returns:

  • (String)


9
# File 'lib/increase/models/card.rb', line 9

required :id, String

#idempotency_keyString

The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about idempotency.

Returns:

  • (String)


54
# File 'lib/increase/models/card.rb', line 54

required :idempotency_key, String

#last4String

The last 4 digits of the Card's Primary Account Number.

Returns:

  • (String)


59
# File 'lib/increase/models/card.rb', line 59

required :last4, String

#statusSymbol

This indicates if payments can be made with the card.

Returns:

  • (Symbol)


64
# File 'lib/increase/models/card.rb', line 64

required :status, Increase::Enum.new(:active, :disabled, :canceled)

#typeSymbol

A constant representing the object's type. For this resource it will always be card.

Returns:

  • (Symbol)


69
# File 'lib/increase/models/card.rb', line 69

required :type, Increase::Enum.new(:card)