/// <summary> /// Checks stock for given basket item /// </summary> /// <param name="item">BasketItem that tells the product to check stock for</param> /// <returns>InventoryManagerData object containing stock details for the given product</returns> public static InventoryManagerData CheckStock(BasketItem item) { return(CheckStock(item.Product, item.ProductVariant, item.GetKitProducts())); }