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

#heightPeddler::APIs::ExternalFulfillmentShipments20240911::Dimension (readonly)

Returns the value of attribute height.



451
452
453
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 451

def height
  @height
end

#lengthPeddler::APIs::ExternalFulfillmentShipments20240911::Dimension (readonly)

Returns the value of attribute length.



452
453
454
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 452

def length
  @length
end

#widthPeddler::APIs::ExternalFulfillmentShipments20240911::Dimension (readonly)

Returns the value of attribute width.



453
454
455
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 453

def width
  @width
end

Class Method Details

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



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

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 ])


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

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

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



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

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

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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



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

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