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)


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

def height
  @height
end

#lengthFloat (readonly)

Returns the value of attribute length.

Returns:

  • (Float)


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

def length
  @length
end

#unit_of_measurementString (readonly)

Returns the value of attribute unit_of_measurement.

Returns:

  • (String)


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

def unit_of_measurement
  @unit_of_measurement
end

#widthFloat (readonly)

Returns the value of attribute width.

Returns:

  • (Float)


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

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:



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

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


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

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:



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

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:



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

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


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

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


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

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