Class: Increase::Models::PhysicalCardProfile
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::PhysicalCardProfile
- Defined in:
- lib/increase/models/physical_card_profile.rb
Overview
Defined Under Namespace
Modules: Creator, Status, Type
Instance Attribute Summary collapse
-
#back_image_file_id ⇒ String?
The identifier of the File containing the physical card’s back image.
-
#carrier_image_file_id ⇒ String?
The identifier of the File containing the physical card’s carrier image.
-
#contact_phone ⇒ String?
A phone number the user can contact to receive support for their card.
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the Card Dispute was created.
-
#creator ⇒ Symbol, Increase::Models::PhysicalCardProfile::Creator
The creator of this Physical Card Profile.
-
#description ⇒ String
A description you can use to identify the Physical Card Profile.
-
#front_image_file_id ⇒ String?
The identifier of the File containing the physical card’s front image.
-
#id ⇒ String
The Card Profile identifier.
-
#idempotency_key ⇒ String?
The idempotency key you chose for this object.
-
#is_default ⇒ Boolean
Whether this Physical Card Profile is the default for all cards in its Increase group.
-
#program_id ⇒ String
The identifier for the Program this Physical Card Profile belongs to.
-
#status ⇒ Symbol, Increase::Models::PhysicalCardProfile::Status
The status of the Physical Card Profile.
-
#type ⇒ Symbol, Increase::Models::PhysicalCardProfile::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , back_image_file_id: , carrier_image_file_id: , contact_phone: , created_at: , creator: , description: , front_image_file_id: , idempotency_key: , is_default: , program_id: , status: , type: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see PhysicalCardProfile for more details.
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(id: , back_image_file_id: , carrier_image_file_id: , contact_phone: , created_at: , creator: , description: , front_image_file_id: , idempotency_key: , is_default: , program_id: , status: , type: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::PhysicalCardProfile for more details.
This contains artwork and metadata relating to a Physical Card’s appearance. For more information, see our guide on [physical card artwork](increase.com/documentation/card-art-physical-cards).
|
|
# File 'lib/increase/models/physical_card_profile.rb', line 93
|
Instance Attribute Details
#back_image_file_id ⇒ String?
The identifier of the File containing the physical card’s back image. This will be missing until the image has been post-processed.
18 |
# File 'lib/increase/models/physical_card_profile.rb', line 18 required :back_image_file_id, String, nil?: true |
#carrier_image_file_id ⇒ String?
The identifier of the File containing the physical card’s carrier image. This will be missing until the image has been post-processed.
25 |
# File 'lib/increase/models/physical_card_profile.rb', line 25 required :carrier_image_file_id, String, nil?: true |
#contact_phone ⇒ String?
A phone number the user can contact to receive support for their card.
31 |
# File 'lib/increase/models/physical_card_profile.rb', line 31 required :contact_phone, String, nil?: true |
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the Card Dispute was created.
38 |
# File 'lib/increase/models/physical_card_profile.rb', line 38 required :created_at, Time |
#creator ⇒ Symbol, Increase::Models::PhysicalCardProfile::Creator
The creator of this Physical Card Profile.
44 |
# File 'lib/increase/models/physical_card_profile.rb', line 44 required :creator, enum: -> { Increase::PhysicalCardProfile::Creator } |
#description ⇒ String
A description you can use to identify the Physical Card Profile.
50 |
# File 'lib/increase/models/physical_card_profile.rb', line 50 required :description, String |
#front_image_file_id ⇒ String?
The identifier of the File containing the physical card’s front image. This will be missing until the image has been post-processed.
57 |
# File 'lib/increase/models/physical_card_profile.rb', line 57 required :front_image_file_id, String, nil?: true |
#id ⇒ String
The Card Profile identifier.
11 |
# File 'lib/increase/models/physical_card_profile.rb', line 11 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](increase.com/documentation/idempotency-keys).
65 |
# File 'lib/increase/models/physical_card_profile.rb', line 65 required :idempotency_key, String, nil?: true |
#is_default ⇒ Boolean
Whether this Physical Card Profile is the default for all cards in its Increase group.
72 |
# File 'lib/increase/models/physical_card_profile.rb', line 72 required :is_default, Increase::Internal::Type::Boolean |
#program_id ⇒ String
The identifier for the Program this Physical Card Profile belongs to.
78 |
# File 'lib/increase/models/physical_card_profile.rb', line 78 required :program_id, String |
#status ⇒ Symbol, Increase::Models::PhysicalCardProfile::Status
The status of the Physical Card Profile.
84 |
# File 'lib/increase/models/physical_card_profile.rb', line 84 required :status, enum: -> { Increase::PhysicalCardProfile::Status } |
#type ⇒ Symbol, Increase::Models::PhysicalCardProfile::Type
A constant representing the object’s type. For this resource it will always be ‘physical_card_profile`.
91 |
# File 'lib/increase/models/physical_card_profile.rb', line 91 required :type, enum: -> { Increase::PhysicalCardProfile::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/physical_card_profile.rb', line 139
|