PHP Класс Smalot\Magento\Customer\Customer

Наследование: extends Smalot\Magento\MagentoModuleAbstract
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

create() публичный Метод

Create a new customer.
public create ( array $customerData ) : Smalot\Magento\ActionInterface
$customerData array
Результат Smalot\Magento\ActionInterface

delete() публичный Метод

Delete the required customer.
public delete ( integer $customerId ) : Smalot\Magento\ActionInterface
$customerId integer
Результат Smalot\Magento\ActionInterface

getInfo() публичный Метод

Retrieve information about the specified customer.
public getInfo ( integer $customerId, array $attributes ) : Smalot\Magento\ActionInterface
$customerId integer
$attributes array
Результат Smalot\Magento\ActionInterface

getList() публичный Метод

Allows you to retrieve the list of customers.
public getList ( array $filters ) : Smalot\Magento\ActionInterface
$filters array
Результат Smalot\Magento\ActionInterface

update() публичный Метод

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
Результат Smalot\Magento\ActionInterface