diff --git a/classes/Carrier.php b/classes/Carrier.php index b5e2dd193..f63adfbb6 100644 --- a/classes/Carrier.php +++ b/classes/Carrier.php @@ -151,9 +151,15 @@ class CarrierCore extends ObjectModel protected $webserviceParameters = array( 'fields' => array( - 'id_tax_rules_group' => array(), 'deleted' => array(), 'is_module' => array(), + 'id_tax_rules_group' => array( + 'getter' => 'getIdTaxRulesGroup', + 'setter' => 'setTaxRulesGroup', + 'xlink_resource' => array( + 'resourceName' => 'tax_rules_group' + ) + ), ), ); diff --git a/classes/Product.php b/classes/Product.php index 3f2c62168..a7b1d4f89 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -321,6 +321,13 @@ class ProductCore extends ObjectModel 'resourceName' => 'combinations' ) ), + 'id_tax_rules_group' => array( + 'getter' => 'getIdTaxRulesGroup', + 'setter' => 'setTaxRulesGroup', + 'xlink_resource' => array( + 'resourceName' => 'tax_rules_group' + ) + ), 'position_in_category' => array( 'getter' => 'getWsPositionInCategory', 'setter' => false