Package DE_EPAGES::TaxUSSystemDB::API::Zip2TaxUS
Functions for the zip2taxus database table
@EXPORT_OK |
Functions
- GetInfoZip2TaxUSByZipCodeCityState
- GetInfoZip2TaxUSsByZipCodePart
- GetTaxRateOrRangeByZipCodeCityState
- ImportZip2TaxUSTable
- UpdateZip2TaxUSMetaTable
- UpdateZip2TaxUSTable
GetInfoZip2TaxUSByZipCodeCityState
Gets Info for primary keys ZipCode, City, State. Will be run on store 'System' automatically.
Syntax |
GetInfoZip2TaxUSByZipCodeCityState($hParams); |
Input |
|
Return |
|
GetInfoZip2TaxUSsByZipCodePart
Returns objects of Zip2TaxUS by alternate key ZipCode. Will be run on store 'System' automatically.
Syntax |
$ahZip2TaxUSs = GetInfoZip2TaxUSsByZipCodePart($ZipCode); |
Input |
|
Return |
|
GetTaxRateOrRangeByZipCodeCityState
Gets the SalesTaxRate for primary keys ZipCode, City, State. if the state is origin based. Gets the SalesTaxRate range for the State ZipCode, City, State. if the state is destimation based. Will be run on store 'System' automatically.
Syntax |
GetTaxRateOrRangeByZipCodeCityState($hParams); |
Input |
|
Return |
|
ImportZip2TaxUSTable
Imports a zip2tax-formatted csv file to the zip2taxus table. Existing entries won't be updated. Will be run on store 'System' automatically.
Syntax |
ImportZip2TaxUSTable($FileName, $Version); |
Input |
|
UpdateZip2TaxUSMetaTable
Initializes the zip2taxusmeta table with the given zip2taxus version and update URL. Will be run on store 'System' automatically.
Syntax |
UpdateZip2TaxUSMetaTable(); |
Input |
|
UpdateZip2TaxUSTable
Updates the zip2taxus table with the fresh fetched version from the provider. Can be executed without downtime. Will be run on store 'System' automatically.
Syntax |
UpdateZip2TaxUSTable(); |
Return |
|