// tax rules product and carriers shop association in webservices

This commit is contained in:
rGaillard
2012-02-24 11:12:12 +00:00
parent 1ffb8998f3
commit 932b649b23
2 changed files with 14 additions and 1 deletions
+7 -1
View File
@@ -151,9 +151,15 @@ class CarrierCore extends ObjectModel
protected $webserviceParameters = array( protected $webserviceParameters = array(
'fields' => array( 'fields' => array(
'id_tax_rules_group' => array(),
'deleted' => array(), 'deleted' => array(),
'is_module' => array(), 'is_module' => array(),
'id_tax_rules_group' => array(
'getter' => 'getIdTaxRulesGroup',
'setter' => 'setTaxRulesGroup',
'xlink_resource' => array(
'resourceName' => 'tax_rules_group'
)
),
), ),
); );
+7
View File
@@ -321,6 +321,13 @@ class ProductCore extends ObjectModel
'resourceName' => 'combinations' 'resourceName' => 'combinations'
) )
), ),
'id_tax_rules_group' => array(
'getter' => 'getIdTaxRulesGroup',
'setter' => 'setTaxRulesGroup',
'xlink_resource' => array(
'resourceName' => 'tax_rules_group'
)
),
'position_in_category' => array( 'position_in_category' => array(
'getter' => 'getWsPositionInCategory', 'getter' => 'getWsPositionInCategory',
'setter' => false 'setter' => false