Interface CustomerAddressRepositoryInterface
Interface CustomerAddressRepositoryInterface
Direct known implementers
Package: Customer\Interfaces
Category: System
Located at Services/Core/Address/Interfaces/CustomerAddressRepositoryInterface.inc.php
Category: System
Located at Services/Core/Address/Interfaces/CustomerAddressRepositoryInterface.inc.php
Methods summary
public
deleteCustomerAddressesByCustomer( CustomerInterface $customer )
Method to delete all customers addresses with a given customer
public
getCustomerAddresses( CustomerInterface $customer )
: array
Method to get all customers addresses
public
store( CustomerAddressInterface $address )
: CustomerAddressInterface
Method to store the customer address
public
deleteCustomerAddress( CustomerAddressInterface $address )
Method to delete a customer address
public
getById( IdType $addressBookId )
: CustomerAddress
Method to get a customer address with a given ID
public
findById( IdType $addressBookId )
: CustomerAddress|null
Method to find a customer address with a given ID it it exists else it will return null