Class: Peddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#expected_quantityPeddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity (readonly)

Returns the value of attribute expected_quantity.



755
756
757
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 755

def expected_quantity
  @expected_quantity
end

#received_quantityPeddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity? (readonly)

Returns the value of attribute received_quantity.



756
757
758
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 756

def received_quantity
  @received_quantity
end

#skuString (readonly)

Returns the value of attribute sku.

Returns:

  • (String)


757
758
759
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 757

def sku
  @sku
end

Class Method Details

.[](expected_quantity:, sku:, received_quantity:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity .[](arg0, arg1, arg2) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity



748
749
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 748

def self.[]: (expected_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity, sku: String, ?received_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity
| (Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity, String, Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity

.members[ :expected_quantity, :sku, :received_quantity ]

Returns:

  • ([ :expected_quantity, :sku, :received_quantity ])


751
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 751

def self.members: () -> [ :expected_quantity, :sku, :received_quantity ]

.new(expected_quantity:, sku:, received_quantity:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity .new(arg0, arg1, arg2) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity



746
747
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 746

def self.new: (expected_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity, sku: String, ?received_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity
| (Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity, String, Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity

.parsePeddler::APIs::AmazonWarehousingAndDistribution20240509::SKUQuantity

Parameters:

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

Returns:



753
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 753

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

Instance Method Details

#members[ :expected_quantity, :sku, :received_quantity ]

Returns:

  • ([ :expected_quantity, :sku, :received_quantity ])


759
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 759

def members: () -> [ :expected_quantity, :sku, :received_quantity ]

#to_h{ expected_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity, sku: String, received_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity? }



760
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 760

def to_h: () -> { expected_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity, sku: String, received_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity? }