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)


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

def dimension_unit
  @dimension_unit
end

#value ⇒ String (readonly)

Returns the value of attribute value.

Returns:

  • (String)


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

def value
  @value
end

Class Method Details

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

Overloads:



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

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

.members ⇒ [ :dimension_unit, :value ]

Returns:

  • ([ :dimension_unit, :value ])


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

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

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

Overloads:



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

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

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

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :dimension_unit, :value ]

Returns:

  • ([ :dimension_unit, :value ])


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

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

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

Returns:

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


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

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