Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 2.14 KB

File metadata and controls

75 lines (46 loc) · 2.14 KB

outdated

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 /components_and_bundles/components/Addressing/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 component_addressing_model_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 component_addressing_model_address.