CustomerCountryZoneReaderInterface

Extends

Interface CustomerCountryZoneReaderInterface

category

System

package

Customer

subpackage

Interfaces

Methods

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

findById(\IdType $countryZoneId) : \CustomerCountryZone|null
throws

if $p_countryZoneName is not a string

Arguments

$countryZoneId

\IdType

Response

\CustomerCountryZone|null

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

findByName(\CustomerCountryZoneNameInterface $countryZoneName) : \CustomerCountryZone|null
throws

if $p_countryZoneName is not a string

Arguments

Response

\CustomerCountryZone|null

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

findCountryZonesByCountryId(\IdType $countryId) : array
throws

Arguments

$countryId

\IdType

Response

array

of CustomerCountryZone objects|empty array