PHP Class Smalot\Magento\Customer\Customer

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

Public Methods

Method 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 method

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

delete() public method

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

getInfo() public method

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

getList() public method

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

update() public method

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
return Smalot\Magento\ActionInterface