Class: Increase::Models::PhysicalCard::Shipment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::PhysicalCard::Shipment
- Defined in:
- lib/increase/models/physical_card.rb
Overview
Defined Under Namespace
Modules: Method, Schedule, Status Classes: Address, Tracking
Instance Attribute Summary collapse
-
#address ⇒ Increase::Models::PhysicalCard::Shipment::Address
The location to where the card’s packing label is addressed.
-
#method_ ⇒ Symbol, Increase::Models::PhysicalCard::Shipment::Method
The shipping method.
-
#schedule ⇒ Symbol, Increase::Models::PhysicalCard::Shipment::Schedule
When this physical card should be produced by the card printer.
-
#status ⇒ Symbol, Increase::Models::PhysicalCard::Shipment::Status
The status of this shipment.
-
#tracking ⇒ Increase::Models::PhysicalCard::Shipment::Tracking?
Tracking details for the shipment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(city: , country: , line1: , line2: , line3: , name: , postal_code: , state: ) ⇒ Object
constructor
The location to where the card’s packing label is addressed.
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(city: , country: , line1: , line2: , line3: , name: , postal_code: , state: ) ⇒ Object
The location to where the card’s packing label is addressed.
|
|
# File 'lib/increase/models/physical_card.rb', line 151
|
Instance Attribute Details
#address ⇒ Increase::Models::PhysicalCard::Shipment::Address
The location to where the card’s packing label is addressed.
121 |
# File 'lib/increase/models/physical_card.rb', line 121 required :address, -> { Increase::PhysicalCard::Shipment::Address } |
#method_ ⇒ Symbol, Increase::Models::PhysicalCard::Shipment::Method
The shipping method.
127 |
# File 'lib/increase/models/physical_card.rb', line 127 required :method_, enum: -> { Increase::PhysicalCard::Shipment::Method }, api_name: :method |
#schedule ⇒ Symbol, Increase::Models::PhysicalCard::Shipment::Schedule
When this physical card should be produced by the card printer. The default timeline is the day after the card printer receives the order, except for ‘FEDEX_PRIORITY_OVERNIGHT` cards, which default to `SAME_DAY`. To use faster production methods, please reach out to [[email protected]]([email protected]).
137 |
# File 'lib/increase/models/physical_card.rb', line 137 required :schedule, enum: -> { Increase::PhysicalCard::Shipment::Schedule } |
#status ⇒ Symbol, Increase::Models::PhysicalCard::Shipment::Status
The status of this shipment.
143 |
# File 'lib/increase/models/physical_card.rb', line 143 required :status, enum: -> { Increase::PhysicalCard::Shipment::Status } |
#tracking ⇒ Increase::Models::PhysicalCard::Shipment::Tracking?
Tracking details for the shipment.
149 |
# File 'lib/increase/models/physical_card.rb', line 149 required :tracking, -> { Increase::PhysicalCard::Shipment::Tracking }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/physical_card.rb', line 255
|