From 2204ae9d2a2bdd8f1b1c8a1fefde196e7d832780 Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Mon, 9 Jan 2012 17:00:57 +0000 Subject: [PATCH] // webservice git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12285 b9a71923-0436-4b27-9f14-aed3839534dd --- 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))