Interface CustomerServiceInterface
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
Interfaces |
addressIsDefaultCustomerAddress(\CustomerAddressInterface $customerAddress) : boolean
booleanIs the provided address the customer's default address?
createNewCustomer(\CustomerEmailInterface $email, \CustomerPasswordInterface $password, \DateTime $dateOfBirth, \CustomerVatNumberInterface $vatNumber, \CustomerCallNumberInterface $telephoneNumber, \CustomerCallNumberInterface $faxNumber, \AddressBlockInterface $addressBlock, \KeyValueCollection $addonValues) : \Customer
| Throws |
|
|---|
\DateTimeCustomer's date of birth.
\CustomerCreated customer.
createNewGuest(\CustomerEmailInterface $email, \DateTime $dateOfBirth, \CustomerVatNumberInterface $vatNumber, \CustomerCallNumberInterface $telephoneNumber, \CustomerCallNumberInterface $faxNumber, \AddressBlockInterface $addressBlock, \KeyValueCollection $addonValues) : \Customer
| Throws |
|
|---|
\DateTimeCustomer's date of birth.
\CustomerCreated guest customer.
filterCustomers(array $conditions = array(), \Pager|null $pager = null, array $sorters = array()) : array
Example: $service->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.
registreeEmailExists(\CustomerEmailInterface $email) : boolean
booleanDoes the provided E-Mail address already exist?
updateCustomer(\CustomerInterface $customer) : \CustomerInterface