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.



505
506
507
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 505

def height
  @height
end

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

Returns the value of attribute length.



506
507
508
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 506

def length
  @length
end

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

Returns the value of attribute width.



507
508
509
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 507

def width
  @width
end

Class Method Details

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



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

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


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

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

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



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

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:



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

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

Instance Method Details

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

Returns:

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


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

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

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



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

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