CustomerCountryReaderInterface

Extends

Interface CustomerCountryReaderInterface

category

System

package

Customer

subpackage

Interfaces

Methods

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

findById(\IdType $countryId) : \CustomerCountry
throws

if $p_countryId is not a valid ID

if country not found

Arguments

$countryId

\IdType

Response

\CustomerCountry

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

findByName( $countryName) : \CustomerCountry|null

Arguments

$countryName

Response

\CustomerCountry|null