Class: Peddler::APIs::MerchantFulfillmentV0::PackageDimensions

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

#heightFloat? (readonly)

Returns the value of attribute height.

Returns:

  • (Float, nil)


659
660
661
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 659

def height
  @height
end

#lengthFloat? (readonly)

Returns the value of attribute length.

Returns:

  • (Float, nil)


660
661
662
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 660

def length
  @length
end

#predefined_package_dimensionsString? (readonly)

Returns the value of attribute predefined_package_dimensions.

Returns:

  • (String, nil)


661
662
663
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 661

def predefined_package_dimensions
  @predefined_package_dimensions
end

#unitString? (readonly)

Returns the value of attribute unit.

Returns:

  • (String, nil)


662
663
664
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 662

def unit
  @unit
end

#widthFloat? (readonly)

Returns the value of attribute width.

Returns:

  • (Float, nil)


663
664
665
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 663

def width
  @width
end

Class Method Details

.[](height:, length:, predefined_package_dimensions:, unit:, width:) ⇒ Peddler::APIs::MerchantFulfillmentV0::PackageDimensions .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::MerchantFulfillmentV0::PackageDimensions

Overloads:



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

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

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

Returns:

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


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

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

.new(height:, length:, predefined_package_dimensions:, unit:, width:) ⇒ Peddler::APIs::MerchantFulfillmentV0::PackageDimensions .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::MerchantFulfillmentV0::PackageDimensions

Overloads:



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

def self.new: (?height: Float?, ?length: Float?, ?predefined_package_dimensions: String?, ?unit: String?, ?width: Float?) -> Peddler::APIs::MerchantFulfillmentV0::PackageDimensions
| (Float?, Float?, String?, String?, Float?) -> Peddler::APIs::MerchantFulfillmentV0::PackageDimensions

.parsePeddler::APIs::MerchantFulfillmentV0::PackageDimensions

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

#to_h{ height: Float?, length: Float?, predefined_package_dimensions: String?, unit: String?, width: Float? }

Returns:

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


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

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