Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Taxes Namespace / TaxRule Class / AppliesToAddress Method / AppliesToAddress(TaxAddress,TaxAddress) Method
The billing address
The shipping address
In This Topic
    AppliesToAddress(TaxAddress,TaxAddress) Method
    In This Topic
    Determines in a tax applies based on the given addresses.
    Syntax
    public virtual bool AppliesToAddress( 
       TaxAddress billingAddress,
       TaxAddress shippingAddress
    )

    Parameters

    billingAddress
    The billing address
    shippingAddress
    The shipping address

    Return Value

    True if the tax applies to the given addresses
    Remarks
    This method determines which address to use based on nexus, and indicates whether the tax applies for the given set.
    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