Class: SafetyKit::Models::AsyncCreateAsyncParams::Body::ProductChangedEventRequest::Product::ShippingInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SafetyKit::Models::AsyncCreateAsyncParams::Body::ProductChangedEventRequest::Product::ShippingInfo
- Defined in:
- lib/safety_kit/models/async_create_async_params.rb,
sig/safety_kit/models/async_create_async_params.rbs
Overview
Instance Attribute Summary collapse
-
#ships_from ⇒ String
Location the product ships from.
-
#ships_to ⇒ Array<String>
Locations the product ships to.
Instance Method Summary collapse
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 ⇒ Object
926 |
# File 'sig/safety_kit/models/async_create_async_params.rbs', line 926
def initialize: (
|
Instance Attribute Details
#ships_from ⇒ String
Location the product ships from.
1172 |
# File 'lib/safety_kit/models/async_create_async_params.rb', line 1172 required :ships_from, String |
#ships_to ⇒ Array<String>
Locations the product ships to.
1178 |
# File 'lib/safety_kit/models/async_create_async_params.rb', line 1178 required :ships_to, SafetyKit::Internal::Type::ArrayOf[String] |
Instance Method Details
#to_hash ⇒ { ships_from: String, ships_to: ::Array[String] }
931 |
# File 'sig/safety_kit/models/async_create_async_params.rbs', line 931
def to_hash: -> { ships_from: String, ships_to: ::Array[String] }
|