Webiant Logo Webiant Logo
  1. No results found.

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

TaxTotalResult.cs

namespace Nop.Services.Tax;

/// 
/// Represents a result of tax total calculation
/// 
public partial class TaxTotalResult
{
    #region Ctor

    public TaxTotalResult()
    {
        TaxRates = new SortedDictionary();
        Errors = new List();
    }

    #endregion

    #region Properties

    /// 
    /// Gets or sets a tax total
    /// 
    public decimal TaxTotal { get; set; }

    /// 
    /// Gets or sets tax rates
    /// 
    public SortedDictionary TaxRates { get; set; }

    /// 
    /// Gets or sets errors
    /// 
    public IList Errors { get; set; }

    /// 
    /// Gets a value indicating whether request has been completed successfully
    /// 
    public bool Success => !Errors.Any();

    #endregion
}