PHP Class Smalot\Magento\Customer\CustomerAddress

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

Public Methods

Method Description
create ( integer $customerId, array $addressData ) : Smalot\Magento\ActionInterface Create a new address for the customer.
delete ( integer $addressId ) : Smalot\Magento\ActionInterface Delete the required customer address.
getInfo ( integer $addressId ) : Smalot\Magento\ActionInterface Retrieve information about the required customer address.
getList ( integer $customerId ) : Smalot\Magento\ActionInterface Retrieve the list of customer addresses.
update ( integer $addressId, array $addressData ) : Smalot\Magento\ActionInterface Update address data of the required customer.

Method Details

create() public method

Create a new address for the customer.
public create ( integer $customerId, array $addressData ) : Smalot\Magento\ActionInterface
$customerId integer
$addressData array
return Smalot\Magento\ActionInterface

delete() public method

Delete the required customer address.
public delete ( integer $addressId ) : Smalot\Magento\ActionInterface
$addressId integer
return Smalot\Magento\ActionInterface

getInfo() public method

Retrieve information about the required customer address.
public getInfo ( integer $addressId ) : Smalot\Magento\ActionInterface
$addressId integer
return Smalot\Magento\ActionInterface

getList() public method

Retrieve the list of customer addresses.
public getList ( integer $customerId ) : Smalot\Magento\ActionInterface
$customerId integer
return Smalot\Magento\ActionInterface

update() public method

Update address data of the required customer.
public update ( integer $addressId, array $addressData ) : Smalot\Magento\ActionInterface
$addressId integer
$addressData array
return Smalot\Magento\ActionInterface