Class: Peddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#estimated_shipping_weightPeddler::APIs::FulfillmentOutbound20200701::Weight? (readonly)

Returns the value of attribute estimated_shipping_weight.



621
622
623
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 621

def estimated_shipping_weight
  @estimated_shipping_weight
end

#quantityInteger (readonly)

Returns the value of attribute quantity.

Returns:

  • (Integer)


622
623
624
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 622

def quantity
  @quantity
end

#seller_fulfillment_order_item_idString (readonly)

Returns the value of attribute seller_fulfillment_order_item_id.

Returns:

  • (String)


623
624
625
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 623

def seller_fulfillment_order_item_id
  @seller_fulfillment_order_item_id
end

#seller_skuString (readonly)

Returns the value of attribute seller_sku.

Returns:

  • (String)


624
625
626
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 624

def seller_sku
  @seller_sku
end

#shipping_weight_calculation_methodString? (readonly)

Returns the value of attribute shipping_weight_calculation_method.

Returns:

  • (String, nil)


625
626
627
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 625

def shipping_weight_calculation_method
  @shipping_weight_calculation_method
end

Class Method Details

.[](quantity:, seller_fulfillment_order_item_id:, seller_sku:, estimated_shipping_weight:, shipping_weight_calculation_method:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem

Overloads:



614
615
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 614

def self.[]: (quantity: Integer, seller_fulfillment_order_item_id: String, seller_sku: String, ?estimated_shipping_weight: Peddler::APIs::FulfillmentOutbound20200701::Weight?, ?shipping_weight_calculation_method: String?) -> Peddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem
| (Integer, String, String, Peddler::APIs::FulfillmentOutbound20200701::Weight?, String?) -> Peddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem

.members[ :quantity, :seller_fulfillment_order_item_id, :seller_sku, :estimated_shipping_weight, :shipping_weight_calculation_method ]

Returns:

  • ([ :quantity, :seller_fulfillment_order_item_id, :seller_sku, :estimated_shipping_weight, :shipping_weight_calculation_method ])


617
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 617

def self.members: () -> [ :quantity, :seller_fulfillment_order_item_id, :seller_sku, :estimated_shipping_weight, :shipping_weight_calculation_method ]

.new(quantity:, seller_fulfillment_order_item_id:, seller_sku:, estimated_shipping_weight:, shipping_weight_calculation_method:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem

Overloads:



612
613
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 612

def self.new: (quantity: Integer, seller_fulfillment_order_item_id: String, seller_sku: String, ?estimated_shipping_weight: Peddler::APIs::FulfillmentOutbound20200701::Weight?, ?shipping_weight_calculation_method: String?) -> Peddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem
| (Integer, String, String, Peddler::APIs::FulfillmentOutbound20200701::Weight?, String?) -> Peddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem

.parsePeddler::APIs::FulfillmentOutbound20200701::FulfillmentPreviewItem

Parameters:

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

Returns:



619
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 619

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

Instance Method Details

#members[ :quantity, :seller_fulfillment_order_item_id, :seller_sku, :estimated_shipping_weight, :shipping_weight_calculation_method ]

Returns:

  • ([ :quantity, :seller_fulfillment_order_item_id, :seller_sku, :estimated_shipping_weight, :shipping_weight_calculation_method ])


627
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 627

def members: () -> [ :quantity, :seller_fulfillment_order_item_id, :seller_sku, :estimated_shipping_weight, :shipping_weight_calculation_method ]

#to_h{ quantity: Integer, seller_fulfillment_order_item_id: String, seller_sku: String, estimated_shipping_weight: Peddler::APIs::FulfillmentOutbound20200701::Weight?, shipping_weight_calculation_method: String? }

Returns:



628
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 628

def to_h: () -> { quantity: Integer, seller_fulfillment_order_item_id: String, seller_sku: String, estimated_shipping_weight: Peddler::APIs::FulfillmentOutbound20200701::Weight?, shipping_weight_calculation_method: String? }