From 14c9eec92abf6a6dc291cea612db93226a3e327f Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Mon, 9 Jan 2012 17:00:57 +0000 Subject: [PATCH] // webservice --- classes/tax/TaxRule.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/classes/tax/TaxRule.php b/classes/tax/TaxRule.php index cfa526378..bf6f49d12 100644 --- a/classes/tax/TaxRule.php +++ b/classes/tax/TaxRule.php @@ -54,6 +54,14 @@ class TaxRuleCore extends ObjectModel ), ); + protected $webserviceParameters = array( + 'fields' => array( + 'id_tax_rules_group' => array('xlink_resource'=> 'tax_rules_group'), + 'id_state' => array('xlink_resource'=> 'states'), + 'id_country' => array('xlink_resource'=> 'countries') + ), + ); + public static function deleteByGroupId($id_group) { if (empty($id_group))