Interface ConsignmentEntryQuantityService
- All Known Implementing Classes:
DefaultConsignmentEntryQuantityService
public interface ConsignmentEntryQuantityService
Provides the methods to retrieve quantities according to an order entry
-
Method Summary
Modifier and TypeMethodDescriptiongetQuantityDeclined(ConsignmentEntryModel consignmentEntry) Retrieve the quantity declined for a specific consignment entrygetQuantityPending(ConsignmentEntryModel consignmentEntryModel) Gets the pending quantity for the givenConsignmentEntryModelgetQuantityShipped(ConsignmentEntryModel consignmentEntryModel) Gets the quantity that has been shipped for the givenConsignmentEntryModel
-
Method Details
-
getQuantityShipped
Gets the quantity that has been shipped for the givenConsignmentEntryModel- Parameters:
consignmentEntryModel- the given consignment entry for which we want to get the shipped quantity- Returns:
- the quantity shipped for the given consignment entry
-
getQuantityPending
Gets the pending quantity for the givenConsignmentEntryModel- Parameters:
consignmentEntryModel- the given consignment entry for which we want to get the pending quantity- Returns:
- the quantity pending for the given consignment entry
-
getQuantityDeclined
Retrieve the quantity declined for a specific consignment entry- Parameters:
consignmentEntry- the consignment entry for which we want to get the declined quantity- Returns:
- the declined quantity
-