Method: ItemBuilder::Modes::ActiveService#quantity

Defined in:
lib/item_builder/modes/active_service.rb

#quantityObject



25
26
27
28
29
30
31
32
33
34
# File 'lib/item_builder/modes/active_service.rb', line 25

def quantity
  QuantityService.new(
    listing: listing, wh_spaces: wh_spaces, variants: variants,
    stock_allocs: stock_allocs, variant_listings: variant_listings,
    bundles: bundles, item_bundle_variants: item_bundle_variants,
    existing_alloc_stocks: existing_alloc_stocks,
    zilingo_quantity: zilingo_quantity,
    zalora_reserved_stock: zalora_reserved_stock
  ).to_h
end