Package DE_EPAGES::AvaTax::API::AvaTax
public API for AvaTax
Base |
Exporter |
Functions
AllowTaxChange
Returns true if lineitemavatax items may be modified in attributes TaxRate and TaxClass
Syntax |
AllowTaxChange( ); |
Return |
|
IsAuthorized
Tests Authorization for AvaTax Webservice
Syntax |
IsAuthorized($Service, $Account, $LicenseKey); IsAuthorized($Service, $Account, $LicenseKey, 1); |
Input |
|
Return |
|
NotifyShopOwner
Notfies shop owner of a problem
Syntax |
NotifyShopOwner( $ErrorCode ); |
Input |
|
Ping
Tests Ping for AvaTax Webservice
Syntax |
Ping($Service, $Account, $LicenseKey); Ping($Service, $Account, $LicenseKey, 1); |
Input |
|
Return |
|
UpdateTax
calls GetTax for a lineitemcontainer and updates lineitemtax entries
Syntax |
UpdateTax( $LineItemContainer ); |
Input |
|
UseAvaTax
Check if we will use AvaTax for this order.
Syntax |
UseAvaTax( $Shop, $hAddressInfo ); |
Input |
|
Return |
|
Validate
Validates an address with AvaTax Address service The actual input values are taken from the Form element, if provided.
Syntax |
Validate( $Address ); |
Input |
|
Return |
|