Interface CustomerCountryZoneReaderInterface

Interface CustomerCountryZoneReaderInterface

Direct known implementers

CustomerCountryZoneReader

Methods summary

public findByName( CustomerCountryZoneNameInterface $countryZoneName ) : CustomerCountryZone|null

Method to find a country zone with a given name if it exists else it will return null

public findById( IdType $countryZoneId ) : CustomerCountryZone|null

Method to find a country zone with a given ID if it exists else it will return null

public findCountryZonesByCountryId( IdType $countryId ) : array

Method to find a country zone with a given country ID if it exists else it will return an empty array

public findCountryZoneByZoneCodeAndCountry( CustomerCountryZoneIsoCodeInterface $zoneCode, CustomerCountryInterface $country ) : CustomerCountryZoneInterface|null

Returns an array with country zone data. An empty array will be returned if no results are found.

public findCountryZoneByZoneCodeAndCountryId( CustomerCountryZoneIsoCodeInterface $zoneCode, IdType $countryId ) : CustomerCountryZoneInterface|null

Returns an array with country zone data. An empty array will be returned if no results are found.