PHP Интерфейс CommerceGuys\Zone\Model\ZoneMemberInterface

Показать файл Открыть проект

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

Метод Описание
getId ( ) : string Gets the zone member id.
getName ( ) : string Gets the zone member name.
getParentZone ( ) : CommerceGuys\Zone\Model\ZoneInterface | null Gets the parent zone.
match ( CommerceGuys\Addressing\AddressInterface $address ) : boolean Checks whether the provided address belongs to the zone member.

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

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

Gets the zone member id.
public getId ( ) : string
Результат string The zone member id.

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

Gets the zone member name.
public getName ( ) : string
Результат string The zone member name.

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

Gets the parent zone.
public getParentZone ( ) : CommerceGuys\Zone\Model\ZoneInterface | null
Результат CommerceGuys\Zone\Model\ZoneInterface | null The parent zone, if set.

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

Checks whether the provided address belongs to the zone member.
public match ( CommerceGuys\Addressing\AddressInterface $address ) : boolean
$address CommerceGuys\Addressing\AddressInterface The address.
Результат boolean True if the provided address belongs to the zone member, false otherwise.