Interface ConsignmentEntryQuantityService
-
- All Known Implementing Classes:
DefaultConsignmentEntryQuantityService
public interface ConsignmentEntryQuantityServiceProvides the methods to retrieve quantities according to an order entry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.LonggetQuantityDeclined(ConsignmentEntryModel consignmentEntry)Retrieve the quantity declined for a specific consignment entryjava.lang.LonggetQuantityPending(ConsignmentEntryModel consignmentEntryModel)Gets the pending quantity for the givenConsignmentEntryModeljava.lang.LonggetQuantityShipped(ConsignmentEntryModel consignmentEntryModel)Gets the quantity that has been shipped for the givenConsignmentEntryModel
-
-
-
Method Detail
-
getQuantityShipped
java.lang.Long getQuantityShipped(ConsignmentEntryModel consignmentEntryModel)
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
java.lang.Long getQuantityPending(ConsignmentEntryModel consignmentEntryModel)
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
java.lang.Long getQuantityDeclined(ConsignmentEntryModel consignmentEntry)
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
-
-