Class CustomerReadService
Class CustomerReadService
This class provides methods for reading customer data.
- CustomerReadService implements CustomerReadServiceInterface
Package: Customer
Category: System
Implements: CustomerReadServiceInterface
Located at Services/Core/Customer/CustomerReadService.inc.php
Category: System
Implements: CustomerReadServiceInterface
Located at Services/Core/Customer/CustomerReadService.inc.php
Methods summary
public
__construct( CustomerRepositoryInterface $customerRepository )
Constructor of the class CustomerService.
public
findCustomerByEmail( CustomerEmailInterface $emailAddress )
: Customer|null
Finds a customer by its email address. Returns null if no customer is found.
public
registreeEmailExists( CustomerEmailInterface $email )
: boolean
Checks if the email address of the registree already exists.
public
addressIsDefaultCustomerAddress( CustomerAddressInterface $customerAddress )
: boolean
Checks if address is the default address of the customer.
public
filterCustomers( array $conditions = [], integer $limit = null, integer $offset = null )
: array
Filters customer records and returns an array with results.
public
getFilterCustomersCount( array $conditions = [] )
: integer
Filters customer records and returns the total count.