Interface CustomerCountryRepositoryInterface

Interface CustomerCountryRepositoryInterface

Direct known implementers

CustomerCountryRepository

Methods summary

public getById( IdType $countryId ) : CustomerCountryInterface

Method to get a customer country with a given country ID

public findById( IdType $countryId ) : CustomerCountry|null

Method to find a country if exists else return null

public getByName( CustomerCountryNameInterface $countryName ) : CustomerCountry

Get country by name.

public findByName( CustomerCountryNameInterface $countryName ) : CustomerCountry

Find country by name.

public getByIso2( CustomerCountryIso2Interface $countryIso2 ) : CustomerCountry

Get country by iso2 code.

public findByIso2( CustomerCountryIso2Interface $countryIso2 ) : CustomerCountry|null

Find country by iso2 code.