Class: Peddler::APIs::MerchantFulfillmentV0::LabelDimensions

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#lengthFloat (readonly)

Returns the value of attribute length.

Returns:

  • (Float)


568
569
570
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 568

def length
  @length
end

#unitString (readonly)

Returns the value of attribute unit.

Returns:

  • (String)


569
570
571
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 569

def unit
  @unit
end

#widthFloat (readonly)

Returns the value of attribute width.

Returns:

  • (Float)


570
571
572
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 570

def width
  @width
end

Class Method Details

.[](length:, unit:, width:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions .[](arg0, arg1, arg2) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions

Overloads:



561
562
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 561

def self.[]: (length: Float, unit: String, width: Float) -> Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
| (Float, String, Float) -> Peddler::APIs::MerchantFulfillmentV0::LabelDimensions

.members[ :length, :unit, :width ]

Returns:

  • ([ :length, :unit, :width ])


564
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 564

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

.new(length:, unit:, width:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions .new(arg0, arg1, arg2) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions

Overloads:



559
560
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 559

def self.new: (length: Float, unit: String, width: Float) -> Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
| (Float, String, Float) -> Peddler::APIs::MerchantFulfillmentV0::LabelDimensions

.parsePeddler::APIs::MerchantFulfillmentV0::LabelDimensions

Parameters:

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

Returns:



566
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 566

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

Instance Method Details

#members[ :length, :unit, :width ]

Returns:

  • ([ :length, :unit, :width ])


572
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 572

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

#to_h{ length: Float, unit: String, width: Float }

Returns:

  • ({ length: Float, unit: String, width: Float })


573
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 573

def to_h: () -> { length: Float, unit: String, width: Float }