Class Mage_Checkout_Model_Cart_Customer_Api

Description

Shopping cart api for customer data

Located in /Checkout/Model/Cart/Customer/Api.php (line 34)

Mage_Api_Model_Resource_Abstract
   |
   --Mage_Checkout_Model_Api_Resource
      |
      --Mage_Checkout_Model_Api_Resource_Customer
         |
         --Mage_Checkout_Model_Cart_Customer_Api
Direct descendents
Class Description
Mage_Checkout_Model_Cart_Customer_Api_V2 Shoping cart api for customer data
Method Summary
Mage_Checkout_Model_Cart_Customer_Api __construct ()
int set (int $quoteId, array|object  $customerData, [int $store = null])
int setAddresses (int $quoteId, array $customerAddressData, [int|string $store = null])
array _prepareCustomerAddressData (array $data)
array _prepareCustomerData ( $data, array $customerData)
Variables
Methods
Constructor __construct (line 36)
  • access: public
Mage_Checkout_Model_Cart_Customer_Api __construct ()
set (line 53)

Set customer for shopping cart

  • access: public
int set (int $quoteId, array|object  $customerData, [int $store = null])
  • int $quoteId
  • array|object $customerData
  • int $store: | string $store
setAddresses (line 109)
  • access: public
int setAddresses (int $quoteId, array $customerAddressData, [int|string $store = null])
  • int $quoteId
  • int|string $store
  • array $customerAddressData: of array|object $customerAddressData
_prepareCustomerAddressData (line 220)

Prepare customer entered data for implementing

  • access: protected
array _prepareCustomerAddressData (array $data)
  • array $data

Redefined in descendants as:
_prepareCustomerData (line 202)

Prepare customer entered data for implementing

  • access: protected
array _prepareCustomerData ( $data, array $customerData)
  • array $customerData
  • $data

Redefined in descendants as:

Inherited Methods

Inherited From Mage_Checkout_Model_Api_Resource_Customer

Mage_Checkout_Model_Api_Resource_Customer::involveNewCustomer()
Mage_Checkout_Model_Api_Resource_Customer::prepareCustomerForQuote()
Mage_Checkout_Model_Api_Resource_Customer::_getCustomer()
Mage_Checkout_Model_Api_Resource_Customer::_getCustomerAddress()
Mage_Checkout_Model_Api_Resource_Customer::_prepareCustomerQuote()
Mage_Checkout_Model_Api_Resource_Customer::_prepareGuestQuote()
Mage_Checkout_Model_Api_Resource_Customer::_prepareNewCustomerQuote()

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()
Class Constants

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