Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

OrderTotalsModel.cs

using Nop.Web.Framework.Models;

namespace Nop.Web.Models.ShoppingCart;

public partial record OrderTotalsModel : BaseNopModel
{
    public OrderTotalsModel()
    {
        TaxRates = new List();
        GiftCards = new List();
    }
    public bool IsEditable { get; set; }

    public string SubTotal { get; set; }

    public string SubTotalDiscount { get; set; }

    public string Shipping { get; set; }
    public bool RequiresShipping { get; set; }
    public string SelectedShippingMethod { get; set; }
    public bool HideShippingTotal { get; set; }

    public string PaymentMethodAdditionalFee { get; set; }

    public string Tax { get; set; }
    public IList TaxRates { get; set; }
    public bool DisplayTax { get; set; }
    public bool DisplayTaxRates { get; set; }

    public IList GiftCards { get; set; }

    public string OrderTotalDiscount { get; set; }
    public int RedeemedRewardPoints { get; set; }
    public string RedeemedRewardPointsAmount { get; set; }

    public int WillEarnRewardPoints { get; set; }

    public string OrderTotal { get; set; }

    #region Nested classes

    public partial record TaxRate : BaseNopModel
    {
        public string Rate { get; set; }
        public string Value { get; set; }
    }

    public partial record GiftCard : BaseNopEntityModel
    {
        public string CouponCode { get; set; }
        public string Amount { get; set; }
        public string Remaining { get; set; }
    }

    #endregion
}