Interface AsnService
-
- All Known Implementing Classes:
DefaultAsnService
public interface AsnServiceService for handlingAdvancedShippingNoticeModel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdvancedShippingNoticeModelcancelAsn(java.lang.String internalId)Cancels theAdvancedShippingNoticeModelfor the givenAdvancedShippingNoticeModel.INTERNALIDAdvancedShippingNoticeModelconfirmAsnReceipt(java.lang.String internalId)Confirms the receipt of givenAdvancedShippingNoticeModelAdvancedShippingNoticeModelgetAsnForInternalId(java.lang.String internalId)ReturnsAdvancedShippingNoticeModelfor givenAdvancedShippingNoticeModel.INTERNALIDjava.util.List<StockLevelModel>getStockLevelsForAsn(AdvancedShippingNoticeModel asn)Returns list ofStockLevelModel(s) for the givenAdvancedShippingNoticeModelvoidprocessAsn(AdvancedShippingNoticeModel asn)CreatesStockLevelModels based on given asn entries taken fromAdvancedShippingNoticeModel
-
-
-
Method Detail
-
processAsn
void processAsn(AdvancedShippingNoticeModel asn)
CreatesStockLevelModels based on given asn entries taken fromAdvancedShippingNoticeModel- Parameters:
asn- advanced shipping notice
-
confirmAsnReceipt
AdvancedShippingNoticeModel confirmAsnReceipt(java.lang.String internalId)
Confirms the receipt of givenAdvancedShippingNoticeModel- Parameters:
internalId- the givenAdvancedShippingNoticeModel.INTERNALID- Returns:
- the updated
AdvancedShippingNoticeModel
-
getAsnForInternalId
AdvancedShippingNoticeModel getAsnForInternalId(java.lang.String internalId)
ReturnsAdvancedShippingNoticeModelfor givenAdvancedShippingNoticeModel.INTERNALID- Parameters:
internalId- the givenAdvancedShippingNoticeModel.INTERNALID- Returns:
- the
AdvancedShippingNoticeModel
-
getStockLevelsForAsn
java.util.List<StockLevelModel> getStockLevelsForAsn(AdvancedShippingNoticeModel asn)
Returns list ofStockLevelModel(s) for the givenAdvancedShippingNoticeModel- Parameters:
asn- theAdvancedShippingNoticeModel- Returns:
- the list of corresponding
StockLevelModel
-
cancelAsn
AdvancedShippingNoticeModel cancelAsn(java.lang.String internalId)
Cancels theAdvancedShippingNoticeModelfor the givenAdvancedShippingNoticeModel.INTERNALID- Parameters:
internalId- the givenAdvancedShippingNoticeModel.INTERNALID- Returns:
- the updated
AdvancedShippingNoticeModel
-
-