Heystack\Ecommerce\Locale\Zone
Synopsis
class Zone
implements
ZoneInterface
{
- // members
- protected $name;
- protected array $countries = ;
- protected CurrencyInterface|null $currency;
- // methods
- public void __construct()
- public Identifier getIdentifier()
- public string getName()
- public void addCountry()
- public void setCountries()
- public array getCountries()
- public bool hasCountry()
- public CurrencyInterface getCurrency()
- // Inherited methods from HasLocaleServiceTrait
- public void setLocaleService()
- public LocaleServiceInterface getLocaleService()
Hierarchy
Uses
Implements
Members
protected
- $countries — array
- $currency — \Heystack\Ecommerce\Currency\Interfaces\CurrencyInterface|null
- $localeService — \Heystack\Ecommerce\Locale\Interfaces\LocaleServiceInterface
- $name —
Methods
public
- __construct()
- addCountry()
- getCountries()
- getCurrency()
- getIdentifier() — Returns a unique identifier
- getName() — Returns the name of the Zone object
- hasCountry()
- setCountries()