Class: Peddler::APIs::ShippingV1::GetRatesRequest

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/shipping_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#container_specificationsArray[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_typesArray[untyped] (readonly)

Returns the value of attribute service_types.

Returns:

  • (Array[untyped])


290
291
292
# File 'sig/peddler/apis/shipping_v1.rbs', line 290

def service_types
  @service_types
end

#ship_dateTime? (readonly)

Returns the value of attribute ship_date.

Returns:

  • (Time, nil)


291
292
293
# File 'sig/peddler/apis/shipping_v1.rbs', line 291

def ship_date
  @ship_date
end

#ship_fromPeddler::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_toPeddler::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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ShippingV1::GetRatesRequest

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:



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? }