PHP Class Smalot\Magento\Cart\CartCustomer

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Show file Open project: smalot/magento-client

Public Methods

Method Description
setAddresses ( integer $quoteId, array $customerAddressData, string $store = null ) : Smalot\Magento\ActionInterface Allows you to set the customer addresses in the shopping cart (quote).
setCustomer ( integer $quoteId, array $customerData, string $store = null ) : Smalot\Magento\ActionInterface Allows you to add information about the customer to a shopping cart (quote).

Method Details

setAddresses() public method

Allows you to set the customer addresses in the shopping cart (quote).
public setAddresses ( integer $quoteId, array $customerAddressData, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$customerAddressData array
$store string
return Smalot\Magento\ActionInterface

setCustomer() public method

Allows you to add information about the customer to a shopping cart (quote).
public setCustomer ( integer $quoteId, array $customerData, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$customerData array
$store string
return Smalot\Magento\ActionInterface