Interface CustomerRepositoryInterface
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
Interfaces |
deleteGuestByEmail(\CustomerEmailInterface $email)
filterCustomers(array $conditions = array(), \Pager|null $pager = null, array $sorters = array()) : array
Example: $repository->filterCustomers('customers_id' => 1);
arrayAssociative array containing the desired field and value.
array(Optional) array of Sorter objects with data sorting information
arrayReturns an array that contains customer objects.
getFilterCustomersCount(array $conditions = array()) : integer
Example: $repository->filterCustomers('customers_id' => 1);
arrayAssociative array containing the desired field and value.
integer
getGuestByEmail(\CustomerEmailInterface $email) : \Customer|null
getRegistreeByEmail(\CustomerEmailInterface $email) : \Customer|null
searchCustomers(\CustomerSearchCondition $condition, \Pager|null $pager = null, array $sorters = array()) : array
array(Optional) array of Sorter objects with data sorting information
arrayReturns an array that contains customer objects.
store(\CustomerInterface $customer)