Heystack\Ecommerce\Locale\Interfaces\CountryInterface
Defines what methods/functions a Country class needs to implement
- Author: Glenn Bautista <glenn@heyday.co.nz>
- Copyright: Heyday
Synopsis
interface CountryInterface
{
- // methods
- public Identifier getIdentifier()
- public string getName()
- public string getCountryCode()
- public bool isDefault()
Methods
public
- getCountryCode() — Returns the country code of the country object
- getIdentifier() — Returns a unique identifier
- getName() — Returns the name of the country object
- isDefault() — Returns a boolean indicating whether this is the default country