Class: Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#height ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension (readonly)

Returns the value of attribute height.



543
544
545
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 543

def height
  @height
end

#length ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension (readonly)

Returns the value of attribute length.



544
545
546
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 544

def length
  @length
end

#width ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension (readonly)

Returns the value of attribute width.



545
546
547
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 545

def width
  @width
end

Class Method Details

.[](height:, length:, width:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions



536
537
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 536

def self.[]: (height: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, length: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, width: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions
| (Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions

.members ⇒ [ :height, :length, :width ]

Returns:

  • ([ :height, :length, :width ])


539
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 539

def self.members: () -> [ :height, :length, :width ]

.new(height:, length:, width:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions



534
535
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 534

def self.new: (height: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, length: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, width: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions
| (Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions

Parameters:

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

Returns:



541
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 541

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions

Instance Method Details

#members ⇒ [ :height, :length, :width ]

Returns:

  • ([ :height, :length, :width ])


547
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 547

def members: () -> [ :height, :length, :width ]

#to_h ⇒ { height: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, length: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, width: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension }



548
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 548

def to_h: () -> { height: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, length: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension, width: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension }