Package DE_EPAGES::Tax::API::Object::TaxArea
object interface for TaxArea.
Base |
DE_EPAGES::Shop::API::Object::ShopObject |
Functions
addCountry
Adds a country or a region within a country to the tax area.
Syntax |
$TaxArea->addCountry($CountryID); $TaxArea->addCountry($CountryID, $ZipcodeFrom, $ZipcodeTo, $RegionName); |
Example |
$TaxArea->addCountry(4); |
Input |
|
className
Returns the class name, used for DAL access.
Syntax |
$ClassName = $TaxArea->className; |
Return |
|
countries
Returns all countries and regions that are assigned to the TaxArea.
Syntax |
$ahCountries = $TaxArea->countries; |
Return |
|
dbPackage
Returns the database package, used for DAL access.
Syntax |
$DbPackage = $TaxArea->dbPackage; |
Return |
|
existsCountry
Asks if a Country exists for the TaxArea.
Syntax |
$TaxArea->existsCountry($CountryID); |
Input |
|
Return |
|
exportXMLElements
add tax rates elements of tax class
Syntax |
$Object->exportXMLElements($Driver, $allAttributes); |
removeCountry
Removes a Country from the TaxArea.
Syntax |
$TaxArea->removeCountry($CountryID, $ZipcodeFrom, $ZipcodeTo); |
Input |
|