Interface SourcingBanService
- All Known Implementing Classes:
DefaultSourcingBanService
public interface SourcingBanService
The service is used create and fetch Bans by warehouses
-
Method Summary
Modifier and TypeMethodDescriptioncreateSourcingBan(WarehouseModel warehouseModel) creates Sourcing BangetSourcingBan(Collection<WarehouseModel> warehouseModels) gets SourcingBan by passing Warehouse
-
Method Details
-
createSourcingBan
creates Sourcing Ban- Parameters:
warehouseModel- warehouse that we want to ban- Returns:
- SourcingBanModel linked to the passed Warehouse, this ban will expire in 1 day by default
-
getSourcingBan
gets SourcingBan by passing Warehouse- Parameters:
warehouseModels- collection of warehouse that we want to get bans for- Returns:
- collection of SourcingBans that for warehouses that is active within configurable period (1 day by default)
-