Class: Peddler::APIs::MerchantFulfillmentV0::Item

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

#dangerous_goods_detailsPeddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails? (readonly)

Returns the value of attribute dangerous_goods_details.



481
482
483
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 481

def dangerous_goods_details
  @dangerous_goods_details
end

#hazmatBoolean? (readonly)

Returns the value of attribute hazmat.

Returns:

  • (Boolean, nil)


482
483
484
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 482

def hazmat
  @hazmat
end

#item_descriptionString? (readonly)

Returns the value of attribute item_description.

Returns:

  • (String, nil)


483
484
485
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 483

def item_description
  @item_description
end

#item_level_seller_inputs_listArray[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]? (readonly)

Returns the value of attribute item_level_seller_inputs_list.



484
485
486
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 484

def item_level_seller_inputs_list
  @item_level_seller_inputs_list
end

#item_weightPeddler::APIs::MerchantFulfillmentV0::Weight? (readonly)

Returns the value of attribute item_weight.



485
486
487
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 485

def item_weight
  @item_weight
end

#liquid_volumePeddler::APIs::MerchantFulfillmentV0::LiquidVolume? (readonly)

Returns the value of attribute liquid_volume.



486
487
488
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 486

def liquid_volume
  @liquid_volume
end

#order_item_idString (readonly)

Returns the value of attribute order_item_id.

Returns:

  • (String)


487
488
489
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 487

def order_item_id
  @order_item_id
end

#quantityInteger (readonly)

Returns the value of attribute quantity.

Returns:

  • (Integer)


488
489
490
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 488

def quantity
  @quantity
end

#transparency_code_listArray[untyped]? (readonly)

Returns the value of attribute transparency_code_list.

Returns:

  • (Array[untyped], nil)


489
490
491
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 489

def transparency_code_list
  @transparency_code_list
end

Class Method Details

.[](order_item_id:, quantity:, dangerous_goods_details:, hazmat:, item_description:, item_level_seller_inputs_list:, item_weight:, liquid_volume:, transparency_code_list:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Item .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::MerchantFulfillmentV0::Item

Overloads:



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

def self.[]: (order_item_id: String, quantity: Integer, ?dangerous_goods_details: Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails?, ?hazmat: bool?, ?item_description: String?, ?item_level_seller_inputs_list: Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, ?item_weight: Peddler::APIs::MerchantFulfillmentV0::Weight?, ?liquid_volume: Peddler::APIs::MerchantFulfillmentV0::LiquidVolume?, ?transparency_code_list: Array[untyped]?) -> Peddler::APIs::MerchantFulfillmentV0::Item
| (String, Integer, Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails?, bool?, String?, Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, Peddler::APIs::MerchantFulfillmentV0::Weight?, Peddler::APIs::MerchantFulfillmentV0::LiquidVolume?, Array[untyped]?) -> Peddler::APIs::MerchantFulfillmentV0::Item

.members[ :order_item_id, :quantity, :dangerous_goods_details, :hazmat, :item_description, :item_level_seller_inputs_list, :item_weight, :liquid_volume, :transparency_code_list ]

Returns:

  • ([ :order_item_id, :quantity, :dangerous_goods_details, :hazmat, :item_description, :item_level_seller_inputs_list, :item_weight, :liquid_volume, :transparency_code_list ])


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

def self.members: () -> [ :order_item_id, :quantity, :dangerous_goods_details, :hazmat, :item_description, :item_level_seller_inputs_list, :item_weight, :liquid_volume, :transparency_code_list ]

.new(order_item_id:, quantity:, dangerous_goods_details:, hazmat:, item_description:, item_level_seller_inputs_list:, item_weight:, liquid_volume:, transparency_code_list:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Item .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::MerchantFulfillmentV0::Item

Overloads:



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

def self.new: (order_item_id: String, quantity: Integer, ?dangerous_goods_details: Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails?, ?hazmat: bool?, ?item_description: String?, ?item_level_seller_inputs_list: Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, ?item_weight: Peddler::APIs::MerchantFulfillmentV0::Weight?, ?liquid_volume: Peddler::APIs::MerchantFulfillmentV0::LiquidVolume?, ?transparency_code_list: Array[untyped]?) -> Peddler::APIs::MerchantFulfillmentV0::Item
| (String, Integer, Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails?, bool?, String?, Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, Peddler::APIs::MerchantFulfillmentV0::Weight?, Peddler::APIs::MerchantFulfillmentV0::LiquidVolume?, Array[untyped]?) -> Peddler::APIs::MerchantFulfillmentV0::Item

.parsePeddler::APIs::MerchantFulfillmentV0::Item

Parameters:

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

Returns:



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

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

Instance Method Details

#hazmat?Boolean

Returns:

  • (Boolean)


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

def hazmat?: () -> bool

#members[ :order_item_id, :quantity, :dangerous_goods_details, :hazmat, :item_description, :item_level_seller_inputs_list, :item_weight, :liquid_volume, :transparency_code_list ]

Returns:

  • ([ :order_item_id, :quantity, :dangerous_goods_details, :hazmat, :item_description, :item_level_seller_inputs_list, :item_weight, :liquid_volume, :transparency_code_list ])


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

def members: () -> [ :order_item_id, :quantity, :dangerous_goods_details, :hazmat, :item_description, :item_level_seller_inputs_list, :item_weight, :liquid_volume, :transparency_code_list ]

#to_h{ order_item_id: String, quantity: Integer, dangerous_goods_details: Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails?, hazmat: bool?, item_description: String?, item_level_seller_inputs_list: Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, item_weight: Peddler::APIs::MerchantFulfillmentV0::Weight?, liquid_volume: Peddler::APIs::MerchantFulfillmentV0::LiquidVolume?, transparency_code_list: Array[untyped]? }

Returns:



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

def to_h: () -> { order_item_id: String, quantity: Integer, dangerous_goods_details: Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails?, hazmat: bool?, item_description: String?, item_level_seller_inputs_list: Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, item_weight: Peddler::APIs::MerchantFulfillmentV0::Weight?, liquid_volume: Peddler::APIs::MerchantFulfillmentV0::LiquidVolume?, transparency_code_list: Array[untyped]? }