CustomerReadService
in
Interface CustomerReadService
Table of Contents
- getCustomerById() : Customer
- Returns a specific customer based on the given ID.
- getCustomers() : Customers
- Returns all available customers.
- getGuestAccounts() : Customers
- Returns all available customers that are guest accounts.
- validateEmailAddress() : true
- Checks if an email address is valid in its self or is already taken by another customer
Methods
getCustomerById()
Returns a specific customer based on the given ID.
public
getCustomerById(int $id) : Customer
Parameters
- $id : int
Tags
Return values
Customer —getCustomers()
Returns all available customers.
public
getCustomers() : Customers
Return values
Customers —getGuestAccounts()
Returns all available customers that are guest accounts.
public
getGuestAccounts() : Customers
Return values
Customers —validateEmailAddress()
Checks if an email address is valid in its self or is already taken by another customer
public
validateEmailAddress(string $email) : true
Parameters
- $email : string