Class: Peddler::APIs::MerchantFulfillmentV0::Item
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MerchantFulfillmentV0::Item
- Defined in:
- sig/peddler/apis/merchant_fulfillment_v0.rbs
Instance Attribute Summary collapse
-
#dangerous_goods_details ⇒ Peddler::APIs::MerchantFulfillmentV0::DangerousGoodsDetails?
readonly
Returns the value of attribute dangerous_goods_details.
-
#hazmat ⇒ Boolean?
readonly
Returns the value of attribute hazmat.
-
#item_description ⇒ String?
readonly
Returns the value of attribute item_description.
-
#item_level_seller_inputs_list ⇒ Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?
readonly
Returns the value of attribute item_level_seller_inputs_list.
-
#item_weight ⇒ Peddler::APIs::MerchantFulfillmentV0::Weight?
readonly
Returns the value of attribute item_weight.
-
#liquid_volume ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume?
readonly
Returns the value of attribute liquid_volume.
-
#order_item_id ⇒ String
readonly
Returns the value of attribute order_item_id.
-
#quantity ⇒ Integer
readonly
Returns the value of attribute quantity.
-
#transparency_code_list ⇒ Array[untyped]?
readonly
Returns the value of attribute transparency_code_list.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :order_item_id, :quantity, :dangerous_goods_details, :hazmat, :item_description, :item_level_seller_inputs_list, :item_weight, :liquid_volume, :transparency_code_list ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::Item
Instance Method Summary collapse
-
#hazmat? ⇒ Boolean
-
#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]? }
Instance Attribute Details
#dangerous_goods_details ⇒ Peddler::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 |
#hazmat ⇒ Boolean? (readonly)
Returns the value of attribute hazmat.
482 483 484 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 482 def hazmat @hazmat end |
#item_description ⇒ String? (readonly)
Returns the value of attribute item_description.
483 484 485 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 483 def item_description @item_description end |
#item_level_seller_inputs_list ⇒ Array[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_weight ⇒ Peddler::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_volume ⇒ Peddler::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_id ⇒ String (readonly)
Returns the value of attribute order_item_id.
487 488 489 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 487 def order_item_id @order_item_id end |
#quantity ⇒ Integer (readonly)
Returns the value of attribute quantity.
488 489 490 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 488 def quantity @quantity end |
#transparency_code_list ⇒ Array[untyped]? (readonly)
Returns the value of attribute transparency_code_list.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::Item
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
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 ]
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]? }
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]? }
|