CustomerAddressReaderInterface

Extends

Interface CustomerAddressReaderInterface

category

System

package

Customer

subpackage

Interfaces

Methods

Method to find customer addresses with a given customer Returns an array of all customer's addresses

findAddressesByCustomer(\CustomerInterface $customer) : array

Arguments

$customer

\CustomerInterface

Response

array

containing CustomerAddress objects

Method to find a customer address with a given ID if it exits else it will return null

findById(\IdType $id) : \CustomerAddress|null
Throws
\InvalidArgumentException

Arguments

$id

\IdType

Response

\CustomerAddress|null