Class: Peddler::APIs::VendorDirectFulfillmentShippingV1::Dimensions

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.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)


101
102
103
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 101

def height
  @height
end

#lengthString (readonly)

Returns the value of attribute length.

Returns:

  • (String)


102
103
104
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 102

def length
  @length
end

#unit_of_measureString (readonly)

Returns the value of attribute unit_of_measure.

Returns:

  • (String)


103
104
105
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 103

def unit_of_measure
  @unit_of_measure
end

#widthString (readonly)

Returns the value of attribute width.

Returns:

  • (String)


104
105
106
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 104

def width
  @width
end

Class Method Details

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

Overloads:



94
95
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 94

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

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

Returns:

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


97
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 97

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

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

Overloads:



92
93
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 92

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

.parsePeddler::APIs::VendorDirectFulfillmentShippingV1::Dimensions

Parameters:

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

Returns:



99
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 99

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

Instance Method Details

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

Returns:

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


106
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 106

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


107
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 107

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