Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension

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

#dimension_unit ⇒ String (readonly)

Returns the value of attribute dimension_unit.

Returns:

  • (String)


223
224
225
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 223

def dimension_unit
  @dimension_unit
end

#value ⇒ Float (readonly)

Returns the value of attribute value.

Returns:

  • (Float)


224
225
226
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 224

def value
  @value
end

Class Method Details

.[](dimension_unit:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension

Overloads:



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

def self.[]: (dimension_unit: String, value: Float) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension
| (String, Float) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension

.members ⇒ [ :dimension_unit, :value ]

Returns:

  • ([ :dimension_unit, :value ])


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

def self.members: () -> [ :dimension_unit, :value ]

.new(dimension_unit:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension

Overloads:



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

def self.new: (dimension_unit: String, value: Float) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension
| (String, Float) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :dimension_unit, :value ]

Returns:

  • ([ :dimension_unit, :value ])


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

def members: () -> [ :dimension_unit, :value ]

#to_h ⇒ { dimension_unit: String, value: Float }

Returns:

  • ({ dimension_unit: String, value: Float })


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

def to_h: () -> { dimension_unit: String, value: Float }