ZMObject
|
+--ZMTaxRates
public class ZMTaxRates
extends ZMObject
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| string | getTaxDescription(int classId, int countryId, int zoneId) Get the tax description for the give tax details. |
| ZMTaxRate | getTaxRateForClassId(int classId, int countryId, int zoneId) Get tax for the given parameter. |
| float | getTaxRateForDescription(string description) Get the tax rate for the given description. |
| static void | instance() Get instance. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| backtrace, create, log, singleton | |
public ZMTaxRates()
Create new instance. /
public string getTaxDescription(int classId, int countryId, int zoneId)
Get the tax description for the give tax details.
null.public ZMTaxRate getTaxRateForClassId(int classId, int countryId, int zoneId)
Get tax for the given parameter.
If neither countryId nor zoneId are specified, the customers default address
details will be used, or if not available, the store defaults.
public float getTaxRateForDescription(string description)
Get the tax rate for the given description.
public static void instance()
Get instance. /
Tax rates.