Interface WarehousingWarehouseService
- All Superinterfaces:
WarehouseService
- All Known Implementing Classes:
DefaultWarehousingWarehouseService
Service for retrieving warehouses by delivery country and availability.
-
Method Summary
Modifier and TypeMethodDescriptiongetWarehousesByBaseStoreDeliveryCountry(BaseStoreModel baseStore, CountryModel country) Find all warehouses where the associated base store can deliver to the specified country.booleanisWarehouseInPoS(WarehouseModel warehouse, PointOfServiceModel pointOfService) Check if givenWarehouseModelbelong to givenPointOfServiceModelMethods inherited from interface de.hybris.platform.ordersplitting.WarehouseService
getDefWarehouse, getWarehouseForCode, getWarehouses, getWarehousesWithProductsInStock
-
Method Details
-
getWarehousesByBaseStoreDeliveryCountry
Collection<WarehouseModel> getWarehousesByBaseStoreDeliveryCountry(BaseStoreModel baseStore, CountryModel country) Find all warehouses where the associated base store can deliver to the specified country.- Parameters:
baseStore- - cannot be nullcountry- - cannot be null- Returns:
- a collection of sourcing locations; never null
-
isWarehouseInPoS
Check if givenWarehouseModelbelong to givenPointOfServiceModel- Parameters:
warehouse- -givenWarehouseModelto be validated - cannot be nullpointOfService- givenPointOfServiceModel- cannot be null- Returns:
- true if
WarehouseModelbelongs to givenPointOfServiceModel
-