Webiant Logo Webiant Logo
  1. No results found.

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

TaxSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Tax;

/// 
/// Tax settings
/// 
public partial class TaxSettings : ISettings
{
    /// 
    /// Tax based on
    /// 
    public TaxBasedOn TaxBasedOn { get; set; }

    /// 
    /// Gets or sets a value indicating whether to use pickup point address (when pickup point is chosen) for tax calculation
    /// 
    public bool TaxBasedOnPickupPointAddress { get; set; }

    /// 
    /// Tax display type
    /// 
    public TaxDisplayType TaxDisplayType { get; set; }

    /// 
    /// Gets or sets an system name of active tax provider
    /// 
    public string ActiveTaxProviderSystemName { get; set; }

    /// 
    /// Gets or sets default address used for tax calculation
    /// 
    public int DefaultTaxAddressId { get; set; }

    /// 
    /// Gets or sets a value indicating whether to display tax suffix
    /// 
    public bool DisplayTaxSuffix { get; set; }

    /// 
    /// Gets or sets a value indicating whether each tax rate should be displayed on separate line (shopping cart page)
    /// 
    public bool DisplayTaxRates { get; set; }

    /// 
    /// Gets or sets a value indicating whether prices include tax
    /// 
    public bool PricesIncludeTax { get; set; }

    /// 
    /// Gets or sets a value indicating whether the country of address used for tax calculation is automatically detected
    /// 
    public bool AutomaticallyDetectCountry { get; set; }

    /// 
    /// Gets or sets a value indicating whether customers are allowed to select tax display type
    /// 
    public bool AllowCustomersToSelectTaxDisplayType { get; set; }

    /// 
    /// Gets or sets a value indicating whether to hide zero tax
    /// 
    public bool HideZeroTax { get; set; }

    /// 
    /// Gets or sets a value indicating whether to hide tax in order summary when prices are shown tax inclusive
    /// 
    public bool HideTaxInOrderSummary { get; set; }

    /// 
    /// Gets or sets a value indicating whether we should always exclude tax from order subtotal (no matter of selected tax display type)
    /// 
    public bool ForceTaxExclusionFromOrderSubtotal { get; set; }

    /// 
    /// Gets or sets a default tax category identifier for products
    /// 
    public int DefaultTaxCategoryId { get; set; }

    /// 
    /// Gets or sets a value indicating whether shipping price is taxable
    /// 
    public bool ShippingIsTaxable { get; set; }

    /// 
    /// Gets or sets a value indicating whether shipping price includes tax
    /// 
    public bool ShippingPriceIncludesTax { get; set; }

    /// 
    /// Gets or sets a value indicating the shipping tax class identifier
    /// 
    public int ShippingTaxClassId { get; set; }

    /// 
    /// Gets or sets a value indicating whether payment method additional fee is taxable
    /// 
    public bool PaymentMethodAdditionalFeeIsTaxable { get; set; }

    /// 
    /// Gets or sets a value indicating whether payment method additional fee includes tax
    /// 
    public bool PaymentMethodAdditionalFeeIncludesTax { get; set; }

    /// 
    /// Gets or sets a value indicating the payment method additional fee tax class identifier
    /// 
    public int PaymentMethodAdditionalFeeTaxClassId { get; set; }

    /// 
    /// Gets or sets a value indicating whether EU VAT (Europe Union Value Added Tax) is enabled
    /// 
    public bool EuVatEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether EU VAT (Europe Union Value Added Tax) for guest customers is enabled
    /// 
    public bool EuVatEnabledForGuests { get; set; }

    /// 
    /// Gets or sets a shop country identifier
    /// 
    public int EuVatShopCountryId { get; set; }

    /// 
    /// Gets or sets a value indicating whether this store will exempt eligible VAT-registered customers from VAT
    /// 
    public bool EuVatAllowVatExemption { get; set; }

    /// 
    /// Gets or sets a value indicating whether we should use the EU web service to validate VAT numbers
    /// 
    public bool EuVatUseWebService { get; set; }

    /// 
    /// Gets or sets a value indicating whether VAT numbers should be automatically assumed valid
    /// 
    public bool EuVatAssumeValid { get; set; }

    /// 
    /// Gets or sets a value indicating whether we should notify a store owner when a new VAT number is submitted
    /// 
    public bool EuVatEmailAdminWhenNewVatSubmitted { get; set; }

    /// 
    /// Gets or sets a value indicating whether to log tax providers errors
    /// 
    public bool LogErrors { get; set; }
}