PHP Класс CommerceGuys\Zone\Model\ZoneMemberCountry

Наследование: extends CommerceGuys\Zone\Model\ZoneMember
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$administrativeArea string The administrative area.
$countryCode string The country code.
$dependentLocality string The dependent locality.
$excludedPostalCodes string Can be a regular expression ("/(35|38)[0-9]{3}/") or a comma-separated list of postal codes, including ranges ("98, 100:200, 250").
$includedPostalCodes string Can be a regular expression ("/(35|38)[0-9]{3}/") or a comma-separated list of postal codes, including ranges ("98, 100:200, 250").
$locality string The locality.

Открытые методы

Метод Описание
getAdministrativeArea ( ) : string | null Gets the administrative area.
getCountryCode ( ) : string Gets the country code.
getDependentLocality ( ) : string | null Gets the dependent locality.
getExcludedPostalCodes ( ) : string Gets the excluded postal codes.
getIncludedPostalCodes ( ) : string Gets the included postal codes.
getLocality ( ) : string | null Gets the locality.
match ( CommerceGuys\Addressing\AddressInterface $address )
setAdministrativeArea ( string | null $administrativeArea = null ) : self Sets the administrative area.
setCountryCode ( string $countryCode ) : self Sets the country code.
setDependentLocality ( string | null $dependentLocality = null ) : self Sets the dependent locality.
setExcludedPostalCodes ( string $excludedPostalCodes ) : self Sets the excluded postal codes.
setIncludedPostalCodes ( string $includedPostalCodes ) : self Sets the included postal codes.
setLocality ( string | null $locality = null ) : self Sets the locality.

Описание методов

getAdministrativeArea() публичный Метод

Gets the administrative area.
public getAdministrativeArea ( ) : string | null
Результат string | null The administrative area, or null if all should match.

getCountryCode() публичный Метод

Gets the country code.
public getCountryCode ( ) : string
Результат string The country code.

getDependentLocality() публичный Метод

Gets the dependent locality.
public getDependentLocality ( ) : string | null
Результат string | null The dependent locality, or null if all should match.

getExcludedPostalCodes() публичный Метод

Gets the excluded postal codes.
public getExcludedPostalCodes ( ) : string
Результат string The excluded postal codes.

getIncludedPostalCodes() публичный Метод

Gets the included postal codes.
public getIncludedPostalCodes ( ) : string
Результат string The included postal codes.

getLocality() публичный Метод

Gets the locality.
public getLocality ( ) : string | null
Результат string | null The locality, or null if all should match.

match() публичный Метод

public match ( CommerceGuys\Addressing\AddressInterface $address )
$address CommerceGuys\Addressing\AddressInterface

setAdministrativeArea() публичный Метод

Sets the administrative area.
public setAdministrativeArea ( string | null $administrativeArea = null ) : self
$administrativeArea string | null The administrative area.
Результат self

setCountryCode() публичный Метод

Sets the country code.
public setCountryCode ( string $countryCode ) : self
$countryCode string The country code.
Результат self

setDependentLocality() публичный Метод

Sets the dependent locality.
public setDependentLocality ( string | null $dependentLocality = null ) : self
$dependentLocality string | null The dependent locality.
Результат self

setExcludedPostalCodes() публичный Метод

Sets the excluded postal codes.
public setExcludedPostalCodes ( string $excludedPostalCodes ) : self
$excludedPostalCodes string The excluded postal codes.
Результат self

setIncludedPostalCodes() публичный Метод

Sets the included postal codes.
public setIncludedPostalCodes ( string $includedPostalCodes ) : self
$includedPostalCodes string The included postal codes.
Результат self

setLocality() публичный Метод

Sets the locality.
public setLocality ( string | null $locality = null ) : self
$locality string | null The locality.
Результат self

Описание свойств

$administrativeArea защищенное свойство

The administrative area.
protected string $administrativeArea
Результат string

$countryCode защищенное свойство

The country code.
protected string $countryCode
Результат string

$dependentLocality защищенное свойство

The dependent locality.
protected string $dependentLocality
Результат string

$excludedPostalCodes защищенное свойство

Can be a regular expression ("/(35|38)[0-9]{3}/") or a comma-separated list of postal codes, including ranges ("98, 100:200, 250").
protected string $excludedPostalCodes
Результат string

$includedPostalCodes защищенное свойство

Can be a regular expression ("/(35|38)[0-9]{3}/") or a comma-separated list of postal codes, including ranges ("98, 100:200, 250").
protected string $includedPostalCodes
Результат string

$locality защищенное свойство

The locality.
protected string $locality
Результат string