Class: Lithic::Models::CardBulkOrder
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::CardBulkOrder
- Defined in:
- lib/lithic/models/card_bulk_order.rb
Overview
Defined Under Namespace
Modules: ShippingMethod, Status
Instance Attribute Summary collapse
-
#card_tokens ⇒ Array<String>
List of card tokens associated with this bulk order.
-
#created ⇒ Time
An RFC 3339 timestamp for when the bulk order was created.
-
#customer_product_id ⇒ String?
Customer-specified product configuration for physical card manufacturing.
-
#shipping_address ⇒ Object
Shipping address for all cards in this bulk order.
-
#shipping_method ⇒ Symbol, Lithic::Models::CardBulkOrder::ShippingMethod
Shipping method for all cards in this bulk order.
-
#status ⇒ Symbol, Lithic::Models::CardBulkOrder::Status
Status of the bulk order.
-
#token ⇒ String
Globally unique identifier for the bulk order.
-
#updated ⇒ Time
An RFC 3339 timestamp for when the bulk order was last updated.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(token:, card_tokens:, created:, customer_product_id:, shipping_address:, shipping_method:, status:, updated:) ⇒ Object
constructor
Some parameter documentations has been truncated, see CardBulkOrder 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(token:, card_tokens:, created:, customer_product_id:, shipping_address:, shipping_method:, status:, updated:) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::CardBulkOrder for more details.
Represents a bulk order for physical card shipments
|
|
# File 'lib/lithic/models/card_bulk_order.rb', line 57
|
Instance Attribute Details
#card_tokens ⇒ Array<String>
List of card tokens associated with this bulk order
17 |
# File 'lib/lithic/models/card_bulk_order.rb', line 17 required :card_tokens, Lithic::Internal::Type::ArrayOf[String] |
#created ⇒ Time
An RFC 3339 timestamp for when the bulk order was created. UTC time zone
23 |
# File 'lib/lithic/models/card_bulk_order.rb', line 23 required :created, Time |
#customer_product_id ⇒ String?
Customer-specified product configuration for physical card manufacturing. This must be configured with Lithic before use
30 |
# File 'lib/lithic/models/card_bulk_order.rb', line 30 required :customer_product_id, String, nil?: true |
#shipping_address ⇒ Object
Shipping address for all cards in this bulk order
36 |
# File 'lib/lithic/models/card_bulk_order.rb', line 36 required :shipping_address, Lithic::Internal::Type::Unknown |
#shipping_method ⇒ Symbol, Lithic::Models::CardBulkOrder::ShippingMethod
Shipping method for all cards in this bulk order
42 |
# File 'lib/lithic/models/card_bulk_order.rb', line 42 required :shipping_method, enum: -> { Lithic::CardBulkOrder::ShippingMethod } |
#status ⇒ Symbol, Lithic::Models::CardBulkOrder::Status
Status of the bulk order. OPEN indicates the order is accepting cards. LOCKED indicates the order is finalized and no more cards can be added
49 |
# File 'lib/lithic/models/card_bulk_order.rb', line 49 required :status, enum: -> { Lithic::CardBulkOrder::Status } |
#token ⇒ String
Globally unique identifier for the bulk order
11 |
# File 'lib/lithic/models/card_bulk_order.rb', line 11 required :token, String |
#updated ⇒ Time
An RFC 3339 timestamp for when the bulk order was last updated. UTC time zone
55 |
# File 'lib/lithic/models/card_bulk_order.rb', line 55 required :updated, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/card_bulk_order.rb', line 87
|