PHP Class Smalot\Magento\Customer\CustomerAddress

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Afficher le fichier Open project: smalot/magento-client

Méthodes publiques

Méthode 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 méthode

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

delete() public méthode

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

getInfo() public méthode

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

getList() public méthode

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

update() public méthode

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