Properties

$id_tax_rules_group

$id_tax_rules_group : 

Type

$id_country

$id_country : 

Type

$id_state

$id_state : 

Type

$zipcode_from

$zipcode_from : 

Type

$zipcode_to

$zipcode_to : 

Type

$id_tax

$id_tax : 

Type

$behavior

$behavior : 

Type

$description

$description : 

Type

$definition

$definition : 

Type

$webserviceParameters

$webserviceParameters : 

Type

Methods

deleteByGroupId()

deleteByGroupId(  $id_group) 

Parameters

$id_group

retrieveById()

retrieveById(  $id_tax_rule) 

Parameters

$id_tax_rule

getTaxRulesByGroupId()

getTaxRulesByGroupId(  $id_lang,   $id_group) 

Parameters

$id_lang
$id_group

deleteTaxRuleByIdTax()

deleteTaxRuleByIdTax(  $id_tax) 

Parameters

$id_tax

deleteTaxRuleByIdCounty()

deleteTaxRuleByIdCounty(  $id_county) 

Parameters

$id_county

isTaxInUse()

isTaxInUse(integer  $id_tax) : boolean

Parameters

integer $id_tax

Returns

boolean

breakDownZipCode()

breakDownZipCode(  $zip_codes) : array

Parameters

$zip_codes

Returns

array —

an array containing two zipcode ordered by zipcode

swapTaxId()

swapTaxId(integer  $old_id, integer  $new_id) 

Replace a tax_rule id by an other one in the tax_rule table

Parameters

integer $old_id
integer $new_id