Class: Increase::Models::Card
- Defined in:
- lib/increase/models/card.rb
Defined Under Namespace
Classes: BillingAddress, DigitalWallet
Instance Attribute Summary collapse
-
#account_id ⇒ String
The identifier for the account this card belongs to.
-
#billing_address ⇒ Increase::Models::Card::BillingAddress
The Card's billing address.
-
#created_at ⇒ String
The ISO 8601 date and time at which the Card was created.
-
#description ⇒ String
The card's description for display purposes.
-
#digital_wallet ⇒ Increase::Models::Card::DigitalWallet
The contact information used in the two-factor steps for digital wallet card creation.
-
#entity_id ⇒ String
The identifier for the entity associated with this card.
-
#expiration_month ⇒ Integer
The month the card expires in M format (e.g., August is 8).
-
#expiration_year ⇒ Integer
The year the card expires in YYYY format (e.g., 2025).
-
#id ⇒ String
The card identifier.
-
#idempotency_key ⇒ String
The idempotency key you chose for this object.
-
#last4 ⇒ String
The last 4 digits of the Card's Primary Account Number.
-
#status ⇒ Symbol
This indicates if payments can be made with the card.
-
#type ⇒ Symbol
A constant representing the object's type.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#account_id ⇒ String
The identifier for the account this card belongs to.
14 |
# File 'lib/increase/models/card.rb', line 14 required :account_id, String |
#billing_address ⇒ Increase::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_at ⇒ String
The ISO 8601 date and time at which the Card was created.
24 |
# File 'lib/increase/models/card.rb', line 24 required :created_at, String |
#description ⇒ String
The card's description for display purposes.
29 |
# File 'lib/increase/models/card.rb', line 29 required :description, String |
#digital_wallet ⇒ Increase::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_id ⇒ String
The identifier for the entity associated with this card.
39 |
# File 'lib/increase/models/card.rb', line 39 required :entity_id, String |
#expiration_month ⇒ Integer
The month the card expires in M format (e.g., August is 8).
44 |
# File 'lib/increase/models/card.rb', line 44 required :expiration_month, Integer |
#expiration_year ⇒ Integer
The year the card expires in YYYY format (e.g., 2025).
49 |
# File 'lib/increase/models/card.rb', line 49 required :expiration_year, Integer |
#id ⇒ String
The card identifier.
9 |
# File 'lib/increase/models/card.rb', line 9 required :id, String |
#idempotency_key ⇒ String
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.
54 |
# File 'lib/increase/models/card.rb', line 54 required :idempotency_key, String |
#last4 ⇒ String
The last 4 digits of the Card's Primary Account Number.
59 |
# File 'lib/increase/models/card.rb', line 59 required :last4, String |
#status ⇒ Symbol
This indicates if payments can be made with the card.
64 |
# File 'lib/increase/models/card.rb', line 64 required :status, Increase::Enum.new(:active, :disabled, :canceled) |
#type ⇒ Symbol
A constant representing the object's type. For this resource it will always be card
.
69 |
# File 'lib/increase/models/card.rb', line 69 required :type, Increase::Enum.new(:card) |