Class Mage_Checkout_Model_Cart_Coupon_Api

Description

Shopping cart api

Located in /Checkout/Model/Cart/Coupon/Api.php (line 35)

Mage_Api_Model_Resource_Abstract
   |
   --Mage_Checkout_Model_Api_Resource
      |
      --Mage_Checkout_Model_Cart_Coupon_Api
Direct descendents
Class Description
Mage_Checkout_Model_Cart_Coupon_Api_V2 Shopping cart api
Method Summary
bool add ($quoteId $quoteId, $couponCode $couponCode, [$storeId $store = null])
string get ($quoteId $quoteId, [$storeId $store = null])
void remove ($quoteId $quoteId, [$storeId $store = null])
bool _applyCoupon ($quoteId $quoteId, $couponCode $couponCode, [$store $store = null])
Variables
Methods
add (line 43)
  • access: public
bool add ($quoteId $quoteId, $couponCode $couponCode, [$storeId $store = null])
  • $quoteId $quoteId
  • $couponCode $couponCode
  • $storeId $store
get (line 64)
  • access: public
string get ($quoteId $quoteId, [$storeId $store = null])
  • $quoteId $quoteId
  • $storeId $store
remove (line 53)
  • access: public
void remove ($quoteId $quoteId, [$storeId $store = null])
  • $quoteId $quoteId
  • $storeId $store
_applyCoupon (line 77)
  • access: protected
bool _applyCoupon ($quoteId $quoteId, $couponCode $couponCode, [$store $store = null])
  • $quoteId $quoteId
  • $couponCode $couponCode
  • $store $store

Inherited Methods

Inherited From Mage_Checkout_Model_Api_Resource

Mage_Checkout_Model_Api_Resource::_getAttributes()
Mage_Checkout_Model_Api_Resource::_getQuote()
Mage_Checkout_Model_Api_Resource::_getStoreId()
Mage_Checkout_Model_Api_Resource::_getStoreIdFromQuote()
Mage_Checkout_Model_Api_Resource::_isAllowedAttribute()
Mage_Checkout_Model_Api_Resource::_isQuoteExist()
Mage_Checkout_Model_Api_Resource::_updateAttributes()

Inherited From Mage_Api_Model_Resource_Abstract

Mage_Api_Model_Resource_Abstract::getResourceConfig()
Mage_Api_Model_Resource_Abstract::setResourceConfig()
Mage_Api_Model_Resource_Abstract::_fault()
Mage_Api_Model_Resource_Abstract::_getConfig()
Mage_Api_Model_Resource_Abstract::_getServer()
Mage_Api_Model_Resource_Abstract::_getSession()

Documentation generated on Fri, 11 Feb 2011 16:56:37 +0200 by phpDocumentor 1.4.3