Class CustomerCountryRepository
This class provides basic methods for finding customer country data
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
Country |
| implements |
CustomerCountryRepositoryInterface |
__construct(\CustomerCountryReader $customerCountryReader)
findById(\IdType $countryId) : \CustomerCountryInterface
findByIso2(\CustomerCountryIso2Interface $countryIso2) : \CustomerCountryInterface|null
findByName(\CustomerCountryNameInterface $countryName) : \CustomerCountryInterface
getById(\IdType $countryId) : \CustomerCountry
getByIso2(\CustomerCountryIso2Interface $countryIso2) : \CustomerCountry
| Throws |
|
|---|
\CustomerCountryIso2Interface
\CustomerCountry
getByName(\CustomerCountryNameInterface $countryName) : \CustomerCountry
| Throws |
|
|---|
\CustomerCountryNameInterface
\CustomerCountry
isStateMandatory(\IdType $countryId) : boolean
customerCountryReader : \CustomerCountryReaderInterface