PHP Class Smalot\Magento\Customer\Customer

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

Méthodes publiques

Méthode Description
create ( array $customerData ) : Smalot\Magento\ActionInterface Create a new customer.
delete ( integer $customerId ) : Smalot\Magento\ActionInterface Delete the required customer.
getInfo ( integer $customerId, array $attributes ) : Smalot\Magento\ActionInterface Retrieve information about the specified customer.
getList ( array $filters ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of customers.
update ( integer $customerId, array $customerData ) : Smalot\Magento\ActionInterface Update information about the required customer.

Method Details

create() public méthode

Create a new customer.
public create ( array $customerData ) : Smalot\Magento\ActionInterface
$customerData array
Résultat Smalot\Magento\ActionInterface

delete() public méthode

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

getInfo() public méthode

Retrieve information about the specified customer.
public getInfo ( integer $customerId, array $attributes ) : Smalot\Magento\ActionInterface
$customerId integer
$attributes array
Résultat Smalot\Magento\ActionInterface

getList() public méthode

Allows you to retrieve the list of customers.
public getList ( array $filters ) : Smalot\Magento\ActionInterface
$filters array
Résultat Smalot\Magento\ActionInterface

update() public méthode

Note that you need to pass only those arguments which you want to be updated.
public update ( integer $customerId, array $customerData ) : Smalot\Magento\ActionInterface
$customerId integer
$customerData array
Résultat Smalot\Magento\ActionInterface