Class: Increase::Models::PhysicalCard
- Defined in:
- lib/increase/models/physical_card.rb
Defined Under Namespace
Classes: Cardholder, Shipment
Instance Attribute Summary collapse
-
#card_id ⇒ String
The identifier for the Card this Physical Card represents.
-
#cardholder ⇒ Increase::Models::PhysicalCard::Cardholder
Details about the cardholder, as it appears on the printed card.
-
#created_at ⇒ String
The ISO 8601 date and time at which the Physical Card was created.
-
#id ⇒ String
The physical card identifier.
-
#idempotency_key ⇒ String
The idempotency key you chose for this object.
-
#physical_card_profile_id ⇒ String
The Physical Card Profile used for this Physical Card.
-
#shipment ⇒ Increase::Models::PhysicalCard::Shipment
The details used to ship this physical card.
-
#status ⇒ Symbol
The status of the Physical Card.
-
#type ⇒ Symbol
A constant representing the object's type.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#card_id ⇒ String
The identifier for the Card this Physical Card represents.
14 |
# File 'lib/increase/models/physical_card.rb', line 14 required :card_id, String |
#cardholder ⇒ Increase::Models::PhysicalCard::Cardholder
Details about the cardholder, as it appears on the printed card.
19 |
# File 'lib/increase/models/physical_card.rb', line 19 required :cardholder, -> { Increase::Models::PhysicalCard::Cardholder } |
#created_at ⇒ String
The ISO 8601 date and time at which the Physical Card was created.
24 |
# File 'lib/increase/models/physical_card.rb', line 24 required :created_at, String |
#id ⇒ String
The physical card identifier.
9 |
# File 'lib/increase/models/physical_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.
29 |
# File 'lib/increase/models/physical_card.rb', line 29 required :idempotency_key, String |
#physical_card_profile_id ⇒ String
The Physical Card Profile used for this Physical Card.
34 |
# File 'lib/increase/models/physical_card.rb', line 34 required :physical_card_profile_id, String |
#shipment ⇒ Increase::Models::PhysicalCard::Shipment
The details used to ship this physical card.
39 |
# File 'lib/increase/models/physical_card.rb', line 39 required :shipment, -> { Increase::Models::PhysicalCard::Shipment } |
#status ⇒ Symbol
The status of the Physical Card.
44 |
# File 'lib/increase/models/physical_card.rb', line 44 required :status, Increase::Enum.new(:active, :disabled, :canceled) |
#type ⇒ Symbol
A constant representing the object's type. For this resource it will always be physical_card
.
49 |
# File 'lib/increase/models/physical_card.rb', line 49 required :type, Increase::Enum.new(:physical_card) |