Class CustomerCountryZoneReader
This class is used for reading customer country zone data from the database
category |
System |
---|---|
package |
Customer |
subpackage |
CountryZone |
implements |
CustomerCountryZoneReaderInterface |
__construct(\AbstractCustomerFactory $customerFactory, \CI_DB_query_builder $dbQueryBuilder)
findById(\IdType $countryZoneId) : \CustomerCountryZone
findByName(\CustomerCountryZoneNameInterface $countryZoneName) : \CustomerCountryZone
findByNameAndCountry(\CustomerCountryZoneNameInterface $countryZoneName, \CustomerCountryInterface $country) : \CustomerCountryZone|null
\CustomerCountryZoneNameInterface
\CustomerCountryInterface
\CustomerCountryZone|null
findCountryZoneByZoneCodeAndCountry(\CustomerCountryZoneIsoCodeInterface $zoneCode, \CustomerCountryInterface $country) : \CustomerCountryZoneInterface|null
An empty array will be returned if no results are found.
\CustomerCountryZoneInterface|null
Country zone.
findCountryZoneByZoneCodeAndCountryId(\CustomerCountryZoneIsoCodeInterface $zoneCode, \IdType $countryId) : \CustomerCountryZoneInterface|null
An empty array will be returned if no results are found.
\CustomerCountryZoneInterface|null
Country zone.
findCountryZonesByCountryId(\IdType $countryId) : array