Interface CustomerCountryReaderInterface
Interface CustomerCountryReaderInterface
Direct known implementers
Package: Customer\Interfaces
Category: System
Located at Services/Core/Country/Interfaces/CustomerCountryReaderInterface.inc.php
Category: System
Located at Services/Core/Country/Interfaces/CustomerCountryReaderInterface.inc.php
Methods summary
public
findById( IdType $countryId )
: CustomerCountry
Method to find a country with a given ID if it exists else it will return null
public
findByName( CustomerCountryNameInterface $countryName )
: CustomerCountry|null
Method to find a country with a given name if it exists else it will return null
public
findByIso2( CustomerCountryIso2Interface $countryIso2 )
: CustomerCountry|null
Method to find a country with a given iso2 code if it exists else it will return null
public
isStateMandatory( IdType $countryId )
: boolean
This method returns whether the specified country, necessary, needs a state.