Interface AsnService
- All Known Implementing Classes:
DefaultAsnService
public interface AsnService
Service for handling
AdvancedShippingNoticeModel.-
Method Summary
Modifier and TypeMethodDescriptionCancels theAdvancedShippingNoticeModelfor the givenAdvancedShippingNoticeModel.INTERNALIDconfirmAsnReceipt(String internalId) Confirms the receipt of givenAdvancedShippingNoticeModelgetAsnForInternalId(String internalId) ReturnsAdvancedShippingNoticeModelfor givenAdvancedShippingNoticeModel.INTERNALIDReturns list ofStockLevelModel(s) for the givenAdvancedShippingNoticeModelvoidCreatesStockLevelModels based on given asn entries taken fromAdvancedShippingNoticeModel
-
Method Details
-
processAsn
CreatesStockLevelModels based on given asn entries taken fromAdvancedShippingNoticeModel- Parameters:
asn- advanced shipping notice
-
confirmAsnReceipt
Confirms the receipt of givenAdvancedShippingNoticeModel- Parameters:
internalId- the givenAdvancedShippingNoticeModel.INTERNALID- Returns:
- the updated
AdvancedShippingNoticeModel
-
getAsnForInternalId
ReturnsAdvancedShippingNoticeModelfor givenAdvancedShippingNoticeModel.INTERNALID- Parameters:
internalId- the givenAdvancedShippingNoticeModel.INTERNALID- Returns:
- the
AdvancedShippingNoticeModel
-
getStockLevelsForAsn
Returns list ofStockLevelModel(s) for the givenAdvancedShippingNoticeModel- Parameters:
asn- theAdvancedShippingNoticeModel- Returns:
- the list of corresponding
StockLevelModel
-
cancelAsn
Cancels theAdvancedShippingNoticeModelfor the givenAdvancedShippingNoticeModel.INTERNALID- Parameters:
internalId- the givenAdvancedShippingNoticeModel.INTERNALID- Returns:
- the updated
AdvancedShippingNoticeModel
-