CustomerCountryRepositoryInterface

Extends

Interface CustomerCountryRepositoryInterface

category

System

package

Customer

subpackage

Interfaces

Methods

Method to find a country if exists else return null

findById(\IdType $countryId) : \CustomerCountry|null

Arguments

$countryId

\IdType

Response

\CustomerCountry|null

Find country by name.

findByName(\CustomerCountryNameInterface $countryName) : \CustomerCountry

Arguments

Response

\CustomerCountry

Method to get a customer country with a given country ID

getById(\IdType $countryId) : \CustomerCountryInterface

Arguments

$countryId

\IdType

Response

\CustomerCountryInterface

Get country by name.

getByName(\CustomerCountryNameInterface $countryName) : \CustomerCountry
throws

If the country could not be found.

Arguments

Response

\CustomerCountry