Class: Peddler::APIs::ShippingV1::GetRatesRequest
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::GetRatesRequest
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#container_specifications ⇒ Array[Peddler::APIs::ShippingV1::ContainerSpecification]
readonly
Returns the value of attribute container_specifications.
-
#service_types ⇒ Array[untyped]
readonly
Returns the value of attribute service_types.
-
#ship_date ⇒ Time?
readonly
Returns the value of attribute ship_date.
-
#ship_from ⇒ Peddler::APIs::ShippingV1::Address
readonly
Returns the value of attribute ship_from.
-
#ship_to ⇒ Peddler::APIs::ShippingV1::Address
readonly
Returns the value of attribute ship_to.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :container_specifications, :service_types, :ship_from, :ship_to, :ship_date ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::GetRatesRequest
Instance Method Summary collapse
-
#members ⇒ [ :container_specifications, :service_types, :ship_from, :ship_to, :ship_date ]
-
#to_h ⇒ { container_specifications: Array[Peddler::APIs::ShippingV1::ContainerSpecification], service_types: Array[untyped], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ship_date: Time? }
Instance Attribute Details
#container_specifications ⇒ Array[Peddler::APIs::ShippingV1::ContainerSpecification] (readonly)
Returns the value of attribute container_specifications.
289 290 291 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 289 def container_specifications @container_specifications end |
#service_types ⇒ Array[untyped] (readonly)
Returns the value of attribute service_types.
290 291 292 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 290 def service_types @service_types end |
#ship_date ⇒ Time? (readonly)
Returns the value of attribute ship_date.
291 292 293 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 291 def ship_date @ship_date end |
#ship_from ⇒ Peddler::APIs::ShippingV1::Address (readonly)
Returns the value of attribute ship_from.
292 293 294 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 292 def ship_from @ship_from end |
#ship_to ⇒ Peddler::APIs::ShippingV1::Address (readonly)
Returns the value of attribute ship_to.
293 294 295 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 293 def ship_to @ship_to end |
Class Method Details
.[](container_specifications:, service_types:, ship_from:, ship_to:, ship_date:) ⇒ Peddler::APIs::ShippingV1::GetRatesRequest .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ShippingV1::GetRatesRequest
282 283 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 282
def self.[]: (container_specifications: Array[Peddler::APIs::ShippingV1::ContainerSpecification], service_types: Array[untyped], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ?ship_date: Time?) -> Peddler::APIs::ShippingV1::GetRatesRequest
| (Array[Peddler::APIs::ShippingV1::ContainerSpecification], Array[untyped], Peddler::APIs::ShippingV1::Address, Peddler::APIs::ShippingV1::Address, Time?) -> Peddler::APIs::ShippingV1::GetRatesRequest
|
.members ⇒ [ :container_specifications, :service_types, :ship_from, :ship_to, :ship_date ]
285 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 285
def self.members: () -> [ :container_specifications, :service_types, :ship_from, :ship_to, :ship_date ]
|
.new(container_specifications:, service_types:, ship_from:, ship_to:, ship_date:) ⇒ Peddler::APIs::ShippingV1::GetRatesRequest .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ShippingV1::GetRatesRequest
280 281 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 280
def self.new: (container_specifications: Array[Peddler::APIs::ShippingV1::ContainerSpecification], service_types: Array[untyped], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ?ship_date: Time?) -> Peddler::APIs::ShippingV1::GetRatesRequest
| (Array[Peddler::APIs::ShippingV1::ContainerSpecification], Array[untyped], Peddler::APIs::ShippingV1::Address, Peddler::APIs::ShippingV1::Address, Time?) -> Peddler::APIs::ShippingV1::GetRatesRequest
|
.parse ⇒ Peddler::APIs::ShippingV1::GetRatesRequest
287 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 287
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::GetRatesRequest
|
Instance Method Details
#members ⇒ [ :container_specifications, :service_types, :ship_from, :ship_to, :ship_date ]
295 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 295
def members: () -> [ :container_specifications, :service_types, :ship_from, :ship_to, :ship_date ]
|
#to_h ⇒ { container_specifications: Array[Peddler::APIs::ShippingV1::ContainerSpecification], service_types: Array[untyped], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ship_date: Time? }
296 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 296
def to_h: () -> { container_specifications: Array[Peddler::APIs::ShippingV1::ContainerSpecification], service_types: Array[untyped], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ship_date: Time? }
|