Interfaces¶

Danger

We’re sorry but this documentation section is outdated. Please have that in mind when trying to use it. You can help us making documentation up to date via Sylius Github. Thank you!

Model Interfaces¶

AddressInterface¶

This interface should be implemented by models representing the customer’s address.

Note

This interface extends TimestampableInterface.

CountryInterface¶

This interfaces should be implemented by models representing a country.

Note

This interface extends ToggleableInterface.

ProvinceInterface¶

This interface should be implemented by models representing a part of a country.

ZoneInterface¶

This interface should be implemented by models representing a single zone.

It also holds all the Zone Types.

ZoneMemberInterface¶

This interface should be implemented by models that represent an area a specific zone contains, e.g. all countries in the European Union.

Service Interfaces¶

RestrictedZoneCheckerInterface¶

A service implementing this interface should be able to check if given Address is in a restricted zone.

ZoneMatcherInterface¶

This interface should be implemented by a service responsible of finding the best matching zone, and all zones containing the provided Address.