Class CustomerAddressRepository
This class contains basic methods for finding, creating and deleting customer addresses
category |
System |
---|---|
package |
Customer |
subpackage |
Address |
implements |
CustomerAddressRepositoryInterface |
__construct(\CustomerAddressWriterInterface $customerAddressWriter, \CustomerAddressDeleterInterface $customerAddressDeleter, \CustomerAddressReaderInterface $customerAddressReader, \AbstractCustomerFactory $customerFactory)
\CustomerAddressWriterInterface
\CustomerAddressDeleterInterface
\CustomerAddressReaderInterface
\AbstractCustomerFactory
deleteCustomerAddress(\CustomerAddressInterface $address)
deleteCustomerAddressesByCustomer(\CustomerInterface $customer)
filterAddresses(string $p_keyword) : array
string
array
Returns an array of CustomerAddress objects.
findById(\IdType $addressBookId) : \CustomerAddress
getAllAddresses() : array
array
Returns an array of CustomerAddress objects.
getById(\IdType $addressBookId) : \CustomerAddress
getCustomerAddresses(\CustomerInterface $customer) : array
store(\CustomerAddressInterface $address) : \CustomerAddressInterface
customerAddressWriter : \CustomerAddressWriterInterface
customerAddressDeleter : \CustomerAddressDeleterInterface
customerAddressReader : \CustomerAddressReaderInterface