/// <summary> /// Gets total face value in shopper currency. /// </summary> /// <param name="basket"></param> /// <returns></returns> public static Price GetTotalFaceValueInShopperCurrency(this Models.Basket basket) => basket.GetTotalFromAllReservations(r => r.GetTotalFaceValueInShopperCurrency());
/// <summary> /// Gets total adjusted amount in office currency. /// </summary> /// <param name="basket"></param> /// <returns></returns> public static Price GetBasketTotalInOfficeCurrency(this Models.Basket basket) => basket.GetTotalFromAllReservations(r => r.GetTotalAdjustedAmountInOfficeCurrency());
/// <summary> /// Gets total adjustment amount in shopper currency. /// </summary> /// <param name="basket"></param> /// <returns></returns> public static Price GetTotalDiscountInShopperCurrency(this Models.Basket basket) => basket.GetTotalFromAllReservations(r => r.GetTotalAdjustmentAmountInShopperCurrency());
/// <summary> /// Gets total sale price without any adjustments in office currency. /// </summary> /// <param name="basket"></param> /// <returns></returns> public static Price GetTotalSalePriceInOfficeCurrency(this Models.Basket basket) => basket.GetTotalFromAllReservations(r => r.GetTotalSalePriceInOfficeCurrency());