Interface PointOfServiceService
- All Known Implementing Classes:
DefaultPointOfServiceService
public interface PointOfServiceService
Interface for point of service look up functionality.
-
Method Summary
Modifier and TypeMethodDescriptiongetPointOfServiceCounts(BaseStoreModel baseStore) Returns a list ofStoreCountInfofor all countries that have storesPointOfServiceModeland a list ofStoreCountInfofor each region (if any) within a country case that region have storesPointOfServiceModelReturns point of service by its name.
-
Method Details
-
getPointOfServiceForName
PointOfServiceModel getPointOfServiceForName(String name) throws UnknownIdentifierException, IllegalArgumentException Returns point of service by its name.- Parameters:
name- the name of POS- Returns:
- the point of service
- Throws:
UnknownIdentifierException- the unknown identifier exception when no POS with given name was foundIllegalArgumentException- the illegal argument exception when given name is null
-
getPointOfServiceCounts
Returns a list ofStoreCountInfofor all countries that have storesPointOfServiceModeland a list ofStoreCountInfofor each region (if any) within a country case that region have storesPointOfServiceModel- Parameters:
baseStore-BaseStoreModel- Returns:
- the count of the stores per Country and Region if any
-