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)


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

def dimension_unit
  @dimension_unit
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


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

def value
  @value
end

Class Method Details

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

Overloads:



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

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


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

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

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

Overloads:



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

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:



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

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

Instance Method Details

#members[ :dimension_unit, :value ]

Returns:

  • ([ :dimension_unit, :value ])


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

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

#to_h{ dimension_unit: String, value: String }

Returns:

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


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

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