Class CustomerAddressReader
This class is used for reading customer address data from the database
category |
System |
---|---|
package |
Customer |
subpackage |
Address |
implements |
CustomerAddressReaderInterface |
__construct(\AbstractCustomerFactory $customerFactory, \CountryServiceInterface $countryService, \CI_DB_query_builder $dbQueryBuilder)
CrossCuttingLoader dependencies:
\AbstractCustomerFactory
\CountryServiceInterface
\CI_DB_query_builder
_createCustomerAddressByArray(array $addressDataArray) : \CustomerAddress
filterAddresses(string $p_keyword) : array
This method is useful when creating a search mechanism for the registered addresses.
string
The keyword to be used for filtering the records.
array
Returns an array of CustomerAddress objects.
findAddressesByCustomer(\CustomerInterface $customer) : array
findById(\IdType $id) : \CustomerAddress
getAllAddresses()
getById(\IdType $id) : \CustomerAddress
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder