Interface CustomerAddressRepositoryInterface

Interface CustomerAddressRepositoryInterface

Direct known implementers

CustomerAddressRepository

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