Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Taxes Namespace / TaxCalculator Class / Calculate Method
The basket to calculate taxes on.
In This Topic
    Calculate Method (TaxCalculator)
    In This Topic
    Calculates and applies taxes for the given basket.
    Syntax
    public static decimal Calculate( 
       Basket basket
    )

    Parameters

    basket
    The basket to calculate taxes on.

    Return Value

    The total amount of tax applied.
    Remarks
    Any pre-existing tax line items will be removed from the basket before the calculation.
    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