PHP Interface CommerceGuys\Zone\Model\ZoneMemberInterface

Afficher le fichier Open project: commerceguys/zone

Méthodes publiques

Méthode Description
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.

Method Details

getId() public méthode

Gets the zone member id.
public getId ( ) : string
Résultat string The zone member id.

getName() public méthode

Gets the zone member name.
public getName ( ) : string
Résultat string The zone member name.

getParentZone() public méthode

Gets the parent zone.
public getParentZone ( ) : CommerceGuys\Zone\Model\ZoneInterface | null
Résultat CommerceGuys\Zone\Model\ZoneInterface | null The parent zone, if set.

match() public méthode

Checks whether the provided address belongs to the zone member.
public match ( CommerceGuys\Addressing\AddressInterface $address ) : boolean
$address CommerceGuys\Addressing\AddressInterface The address.
Résultat boolean True if the provided address belongs to the zone member, false otherwise.