Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Taxes Namespace / TaxRule Class / TaxRule Constructor / TaxRule Constructor(Store,String,Decimal,Boolean)
The store that defines the tax.
The name of the tax.
The applied tax rate. The percentage amount should be provided in integer form, e.g. use 8 for 8%.
If true taxes are determined based on billing address, if false shipping address is used.
In This Topic
    TaxRule Constructor(Store,String,Decimal,Boolean)
    In This Topic
    Initializes a new instance of the TaxRule class.
    Syntax

    Parameters

    store
    The store that defines the tax.
    name
    The name of the tax.
    taxrate
    The applied tax rate. The percentage amount should be provided in integer form, e.g. use 8 for 8%.
    usebillingaddress
    If true taxes are determined based on billing address, if false shipping address is used.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also