Class Mage_Catalog_Model_Api2_Product_Rest
Abstract API2 class for product instance
- Mage_Api2_Model_Resource
- Mage_Catalog_Model_Api2_Product
- Mage_Catalog_Model_Api2_Product_Rest
Direct known subclasses
Mage_Catalog_Model_Api2_Product_Category_Rest, Mage_Catalog_Model_Api2_Product_Image_Rest, Mage_Catalog_Model_Api2_Product_Rest_Admin_V1, Mage_Catalog_Model_Api2_Product_Rest_Customer_V1, Mage_Catalog_Model_Api2_Product_Rest_Guest_V1Indirect known subclasses
Mage_Catalog_Model_Api2_Product_Category_Rest_Admin_V1, Mage_Catalog_Model_Api2_Product_Category_Rest_Customer_V1, Mage_Catalog_Model_Api2_Product_Category_Rest_Guest_V1, Mage_Catalog_Model_Api2_Product_Image_Rest_Admin_V1, Mage_Catalog_Model_Api2_Product_Image_Rest_Customer_V1, Mage_Catalog_Model_Api2_Product_Image_Rest_Guest_V1
Abstract
Package: Mage\Catalog
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Catalog/Model/Api2/Product/Rest.php
Package: Mage\Catalog
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Catalog/Model/Api2/Product/Rest.php
protected
array
|
|
protected
array
|
|
protected
|
#
_applyCategoryFilter(
Apply filter by category id |
protected
|
#
_prepareProductForResponse(
Add special fields to product get response |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
float
|
#
_getPrice( float $price, boolean $includingTax = null, null|
Get product price with all tax settings processing |
protected
float
|
#
_calculatePrice( float $price, float $percent, boolean $includeTax )
Calculate price imcluding/excluding tax base on tax rate percent |
protected
array
|
|
protected
null
|
|
protected
float
|
#
_applyTaxToPrice( float $price, boolean $withTax = true )
Default implementation. May be different for customer/guest/admin role. |
_isAttributeVisible(),
getAvailableAttributes()
|
protected
|
$_product |
|
#
Current loaded product |
$_actionType,
$_apiType,
$_apiUser,
$_filter,
$_multicall,
$_operation,
$_renderer,
$_request,
$_resourceType,
$_response,
$_returnData,
$_userType,
$_version
|