Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Taxes Namespace / ITaxRuleRepository Interface / LoadForTaxCodes Method
Array of tax code Ids
Address for which to load the tax rules
User for which to load the tax rules
In This Topic
    LoadForTaxCodes Method (ITaxRuleRepository)
    In This Topic
    Loads rules that may apply for the given tax codes and address information
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    IList<TaxRule> LoadForTaxCodes( 
       int[] taxCodeIds,
       TaxAddress taxAddress,
       User user
    )

    Parameters

    taxCodeIds
    Array of tax code Ids
    taxAddress
    Address for which to load the tax rules
    user
    User for which to load the tax rules

    Return Value

    Collection of rules that apply
    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