Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services.Taxes.AbleCommerce Namespace / TaxRuleHelper Class / InternalGetTaxInfo Method
The unit price to calculate Tax for
The Quantity of the line item
The tax code that applies to this price
The priority of the item - 0 for products, can be greater than 0 for non products items.
The billing address that applies to the price
The shipping address that applies to the price
The user being taxed
Indicates whether the price includes tax.
In This Topic
    InternalGetTaxInfo Method
    In This Topic
    Calculates the Tax for the given price
    Syntax

    Parameters

    unitPrice
    The unit price to calculate Tax for
    quantity
    The Quantity of the line item
    taxCodeId
    The tax code that applies to this price
    priority
    The priority of the item - 0 for products, can be greater than 0 for non products items.
    billingAddress
    The billing address that applies to the price
    shippingAddress
    The shipping address that applies to the price
    user
    The user being taxed
    priceIncludesTax
    Indicates whether the price includes tax.

    Return Value

    The Tax details for the given price
    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