Class: TerminalShop::Models::OrderAPI::Tracking
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- TerminalShop::Models::OrderAPI::Tracking
- Defined in:
- lib/terminal_shop/models/order.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#number ⇒ String?
Tracking number of the order.
-
#service ⇒ String?
Shipping service of the order.
-
#status ⇒ Symbol, ...
Current tracking status of the shipment.
-
#status_details ⇒ String?
Additional details about the tracking status.
-
#status_updated_at ⇒ String?
When the tracking status was last updated.
-
#url ⇒ String?
Tracking URL of the order.
Instance Method Summary collapse
-
#initialize(number: nil, service: nil, status: nil, status_details: nil, status_updated_at: nil, url: nil) ⇒ Object
constructor
Tracking information of the order.
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(number: nil, service: nil, status: nil, status_details: nil, status_updated_at: nil, url: nil) ⇒ Object
Tracking information of the order.
|
|
# File 'lib/terminal_shop/models/order.rb', line 244
|
Instance Attribute Details
#number ⇒ String?
Tracking number of the order.
212 |
# File 'lib/terminal_shop/models/order.rb', line 212 optional :number, String |
#service ⇒ String?
Shipping service of the order.
218 |
# File 'lib/terminal_shop/models/order.rb', line 218 optional :service, String |
#status ⇒ Symbol, ...
Current tracking status of the shipment.
224 |
# File 'lib/terminal_shop/models/order.rb', line 224 optional :status, enum: -> { TerminalShop::OrderAPI::Tracking::Status } |
#status_details ⇒ String?
Additional details about the tracking status.
230 |
# File 'lib/terminal_shop/models/order.rb', line 230 optional :status_details, String, api_name: :statusDetails |
#status_updated_at ⇒ String?
When the tracking status was last updated.
236 |
# File 'lib/terminal_shop/models/order.rb', line 236 optional :status_updated_at, String, api_name: :statusUpdatedAt |
#url ⇒ String?
Tracking URL of the order.
242 |
# File 'lib/terminal_shop/models/order.rb', line 242 optional :url, String |