Class: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary

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

#expiration_detailsArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ExpirationDetails]? (readonly)

Returns the value of attribute expiration_details.



428
429
430
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 428

def expiration_details
  @expiration_details
end

#inventory_detailsPeddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryDetails? (readonly)

Returns the value of attribute inventory_details.



429
430
431
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 429

def inventory_details
  @inventory_details
end

#skuString (readonly)

Returns the value of attribute sku.

Returns:

  • (String)


430
431
432
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 430

def sku
  @sku
end

#total_inbound_quantityInteger? (readonly)

Returns the value of attribute total_inbound_quantity.

Returns:

  • (Integer, nil)


431
432
433
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 431

def total_inbound_quantity
  @total_inbound_quantity
end

#total_onhand_quantityInteger? (readonly)

Returns the value of attribute total_onhand_quantity.

Returns:

  • (Integer, nil)


432
433
434
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 432

def total_onhand_quantity
  @total_onhand_quantity
end

Class Method Details

.[](sku:, expiration_details:, inventory_details:, total_inbound_quantity:, total_onhand_quantity:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary

Overloads:



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

def self.[]: (sku: String, ?expiration_details: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ExpirationDetails]?, ?inventory_details: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryDetails?, ?total_inbound_quantity: Integer?, ?total_onhand_quantity: Integer?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary
| (String, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ExpirationDetails]?, Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryDetails?, Integer?, Integer?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary

.members[ :sku, :expiration_details, :inventory_details, :total_inbound_quantity, :total_onhand_quantity ]

Returns:

  • ([ :sku, :expiration_details, :inventory_details, :total_inbound_quantity, :total_onhand_quantity ])


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

def self.members: () -> [ :sku, :expiration_details, :inventory_details, :total_inbound_quantity, :total_onhand_quantity ]

.new(sku:, expiration_details:, inventory_details:, total_inbound_quantity:, total_onhand_quantity:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary

Overloads:



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

def self.new: (sku: String, ?expiration_details: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ExpirationDetails]?, ?inventory_details: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryDetails?, ?total_inbound_quantity: Integer?, ?total_onhand_quantity: Integer?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary
| (String, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ExpirationDetails]?, Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryDetails?, Integer?, Integer?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary

.parsePeddler::APIs::AmazonWarehousingAndDistribution20240509::InventorySummary

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :sku, :expiration_details, :inventory_details, :total_inbound_quantity, :total_onhand_quantity ]

Returns:

  • ([ :sku, :expiration_details, :inventory_details, :total_inbound_quantity, :total_onhand_quantity ])


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

def members: () -> [ :sku, :expiration_details, :inventory_details, :total_inbound_quantity, :total_onhand_quantity ]

#to_h{ sku: String, expiration_details: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ExpirationDetails]?, inventory_details: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryDetails?, total_inbound_quantity: Integer?, total_onhand_quantity: Integer? }

Returns:



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

def to_h: () -> { sku: String, expiration_details: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ExpirationDetails]?, inventory_details: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryDetails?, total_inbound_quantity: Integer?, total_onhand_quantity: Integer? }