Class: Peddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#heightString (readonly)

Returns the value of attribute height.

Returns:

  • (String)


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

def height
  @height
end

#lengthString (readonly)

Returns the value of attribute length.

Returns:

  • (String)


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

def length
  @length
end

#unit_of_measureString (readonly)

Returns the value of attribute unit_of_measure.

Returns:

  • (String)


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

def unit_of_measure
  @unit_of_measure
end

#widthString (readonly)

Returns the value of attribute width.

Returns:

  • (String)


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

def width
  @width
end

Class Method Details

.[](height:, length:, unit_of_measure:, width:) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions

Overloads:



166
167
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 166

def self.[]: (height: String, length: String, unit_of_measure: String, width: String) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions
| (String, String, String, String) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions

.members[ :height, :length, :unit_of_measure, :width ]

Returns:

  • ([ :height, :length, :unit_of_measure, :width ])


169
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 169

def self.members: () -> [ :height, :length, :unit_of_measure, :width ]

.new(height:, length:, unit_of_measure:, width:) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions

Overloads:



164
165
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 164

def self.new: (height: String, length: String, unit_of_measure: String, width: String) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions
| (String, String, String, String) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions

.parsePeddler::APIs::VendorDirectFulfillmentShipping20211228::Dimensions

Parameters:

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

Returns:



171
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 171

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

Instance Method Details

#members[ :height, :length, :unit_of_measure, :width ]

Returns:

  • ([ :height, :length, :unit_of_measure, :width ])


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

def members: () -> [ :height, :length, :unit_of_measure, :width ]

#to_h{ height: String, length: String, unit_of_measure: String, width: String }

Returns:

  • ({ height: String, length: String, unit_of_measure: String, width: String })


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

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