Package DE_EPAGES::Tax::API::TLE::TaxMatrixHandler
Implements TLE functions for tax matrix
Functions
- DisplayTaxAreaAndRate
- IsMethodDirectlyUsable
- TaxAreaByCountryID
- TaxRateForDefaultTaxArea
- ZipcodesForCountry
DisplayTaxAreaAndRate
Returns true if taxarea and taxrate should be displayed.
Syntax |
#DisplayTaxAreaAndRate(#Shop) |
Example |
#DisplayTaxAreaAndRate(#Shop.Object) |
Input |
|
Return |
|
IsMethodDirectlyUsable
Returns true if tax method by this tax type is usable without further configuration.
Syntax |
#IsMethodDirectlyUsable(#Shop, #TaxType) |
Example |
#IsMethodDirectlyUsable(#Shop.Object, #TaxType.Object) |
Input |
|
TaxAreaByCountryID
Returns the TaxArea for a given country or region
Syntax |
#TaxAreaByCountryID(#TaxMatrix, #CountryID, #ZipcodeFrom, $ZipcodeTo) |
Example |
#TaxAreaByCountryID(#Shop.TaxMatrix.Object, #CountryID, #ZipcodeFrom, $ZipcodeTo) |
Input |
|
TaxRateForDefaultTaxArea
Returns the tax rate for the tax class in default tax area of shop
Syntax |
#TaxRateForDefaultTaxArea(#Shop, #TaxClass) |
Example |
#TaxRateForDefaultTaxArea(#Shop.Object, #TaxClass.Object) |
Input |
|
ZipcodesForCountry
Returns the Zipcodes with TaxArea for a country.
Syntax |
#ZipcodesForCountry(#TaxMatrix, #CountryID) |
Example |
#ZipcodesForCountry(#Shop.TaxMatrix.Object, #CountryID) |
Input |
|