Class: Peddler::APIs::FulfillmentInbound20240320::Dimensions

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#heightFloat (readonly)

Returns the value of attribute height.

Returns:

  • (Float)


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

def height
  @height
end

#lengthFloat (readonly)

Returns the value of attribute length.

Returns:

  • (Float)


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

def length
  @length
end

#unit_of_measurementString (readonly)

Returns the value of attribute unit_of_measurement.

Returns:

  • (String)


546
547
548
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 546

def unit_of_measurement
  @unit_of_measurement
end

#widthFloat (readonly)

Returns the value of attribute width.

Returns:

  • (Float)


547
548
549
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 547

def width
  @width
end

Class Method Details

.[](height:, length:, unit_of_measurement:, width:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions

Overloads:



537
538
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 537

def self.[]: (height: Float, length: Float, unit_of_measurement: String, width: Float) -> Peddler::APIs::FulfillmentInbound20240320::Dimensions
| (Float, Float, String, Float) -> Peddler::APIs::FulfillmentInbound20240320::Dimensions

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

Returns:

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


540
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 540

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

.new(height:, length:, unit_of_measurement:, width:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions

Overloads:



535
536
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 535

def self.new: (height: Float, length: Float, unit_of_measurement: String, width: Float) -> Peddler::APIs::FulfillmentInbound20240320::Dimensions
| (Float, Float, String, Float) -> Peddler::APIs::FulfillmentInbound20240320::Dimensions

.parsePeddler::APIs::FulfillmentInbound20240320::Dimensions

Parameters:

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

Returns:



542
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 542

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

Instance Method Details

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

Returns:

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


549
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 549

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

#to_h{ height: Float, length: Float, unit_of_measurement: String, width: Float }

Returns:

  • ({ height: Float, length: Float, unit_of_measurement: String, width: Float })


550
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 550

def to_h: () -> { height: Float, length: Float, unit_of_measurement: String, width: Float }