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.
For more detailed information go to Sylius API AddressInterface.
CountryInterface¶
This interfaces should be implemented by models representing a country.
Note
This interface extends ToggleableInterface.
For more detailed information go to Sylius API CountryInterface.
ProvinceInterface¶
This interface should be implemented by models representing a part of a country.
Note
For more detailed information go to Sylius API ProvinceInterface.
ZoneInterface¶
This interface should be implemented by models representing a single zone.
It also holds all the Zone Types.
Note
For more detailed information go to Sylius API ZoneInterface.
ZoneMemberInterface¶
This interface should be implemented by models that represent an area a specific zone contains, e.g. all countries in the European Union.
Note
For more detailed information go to Sylius API ZoneMemberInterface.
Service Interfaces¶
RestrictedZoneCheckerInterface¶
A service implementing this interface should be able to check if given Address is in a restricted zone.
Note
For more detailed information go to Sylius API RestrictedZoneCheckerInterface.
ZoneMatcherInterface¶
This interface should be implemented by a service responsible of finding the best matching zone, and all zones containing the provided Address.
Note
For more detailed information go to Sylius API ZoneMatcherInterface.