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, 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.
-
#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: , 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, 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: , 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 141
|
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 |
#status ⇒ Symbol, Increase::Models::PhysicalCard::Shipment::Status
The status of this shipment.
133 |
# File 'lib/increase/models/physical_card.rb', line 133 required :status, enum: -> { Increase::PhysicalCard::Shipment::Status } |
#tracking ⇒ Increase::Models::PhysicalCard::Shipment::Tracking?
Tracking details for the shipment.
139 |
# File 'lib/increase/models/physical_card.rb', line 139 required :tracking, -> { Increase::PhysicalCard::Shipment::Tracking }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/physical_card.rb', line 229
|