Class CustomerCountryZoneRepository
This class provides basic methods for finding customer country zone data
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
CountryZone |
| implements |
CustomerCountryZoneRepositoryInterface |
__construct(\CustomerCountryZoneReaderInterface $customerCountryZoneReader, \AbstractCustomerFactory $customerFactory)
\CustomerCountryZoneReaderInterface
\AbstractCustomerFactory
findById(\IdType $countryZoneId) : \CustomerCountryZone|null
findByNameAndCountry(\CustomerCountryZoneNameInterface $countryZoneName, \CustomerCountryInterface $country) : \CustomerCountryZone|null
\CustomerCountryZoneNameInterface
\CustomerCountryInterface
\CustomerCountryZone|null
findCountryZoneByZoneCodeAndCountry(\CustomerCountryZoneIsoCodeInterface $zoneCode, \CustomerCountryInterface $country) : \CustomerCountryZoneInterface|null
Null will be returned if no results are found.
\CustomerCountryZoneInterface|null
findCountryZoneByZoneCodeAndCountryId(\CustomerCountryZoneIsoCodeInterface $zoneCode, \IdType $countryId) : \CustomerCountryZoneInterface
findCountryZonesByCountryId(\IdType $countryId) : array
getById(\IdType $countryZoneId) : \CustomerCountryZoneInterface
| Throws |
|
|---|
\IdType
\CustomerCountryZoneInterface
getByNameAndCountry(\CustomerCountryZoneNameInterface $countryZoneName, \CustomerCountryInterface $country) : \CustomerCountryZoneInterface
| Throws |
|
|---|
\CustomerCountryZoneNameInterface
\CustomerCountryInterface
\CustomerCountryZoneInterface
getUnknownCountryZoneByName(\CustomerCountryZoneNameInterface $countryZoneName) : \CustomerCountryZone
ID is 0 and ISO code is empty.
\CustomerCountryZoneNameInterface
\CustomerCountryZone
isStateMandatory(\IdType $countryId) : boolean
customerCountryZoneReader : \CustomerCountryZoneReaderInterface