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_unitString (readonly)

Returns the value of attribute dimension_unit.

Returns:

  • (String)


183
184
185
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 183

def dimension_unit
  @dimension_unit
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


184
185
186
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 184

def value
  @value
end

Class Method Details

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

Overloads:



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

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


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

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

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

Overloads:



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

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

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::Dimension

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :dimension_unit, :value ]

Returns:

  • ([ :dimension_unit, :value ])


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

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

#to_h{ dimension_unit: String, value: String }

Returns:

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


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

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