Interface OrderEntryQuantityService
-
- All Known Implementing Classes:
DefaultOrderEntryQuantityService
public interface OrderEntryQuantityService
Provides 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.Long
getQuantityAllocated(OrderEntryModel orderEntryModel)
Gets the quantity that has been allocated for the givenOrderEntryModel
java.lang.Long
getQuantityCancelled(OrderEntryModel orderEntryModel)
Gets the quantity that has been cancelled for the givenOrderEntryModel
java.lang.Long
getQuantityDeclined(OrderEntryModel orderEntryModel)
Gets the quantity that was declined for the givenOrderEntryModel
java.lang.Long
getQuantityPending(OrderEntryModel orderEntryModel)
Gets the pending quantity for the givenOrderEntryModel
java.lang.Long
getQuantityReturned(OrderEntryModel orderEntryModel)
Gets the quantity that has been returned for the givenOrderEntryModel
java.lang.Long
getQuantityShipped(OrderEntryModel orderEntryModel)
Gets the quantity that has been shipped for the givenOrderEntryModel
java.lang.Long
getQuantityUnallocated(OrderEntryModel orderEntryModel)
Gets the quantity that has not been allocated for the givenOrderEntryModel
-
-
-
Method Detail
-
getQuantityShipped
java.lang.Long getQuantityShipped(OrderEntryModel orderEntryModel)
Gets the quantity that has been shipped for the givenOrderEntryModel
- Parameters:
orderEntryModel
- the given order entry for which we want to get the shipped quantity- Returns:
- the quantity shipped for the given order entry
-
getQuantityCancelled
java.lang.Long getQuantityCancelled(OrderEntryModel orderEntryModel)
Gets the quantity that has been cancelled for the givenOrderEntryModel
- Parameters:
orderEntryModel
- the given order entry for which we want to get the cancelled quantity- Returns:
- the quantity cancelled for the given order entry
-
getQuantityAllocated
java.lang.Long getQuantityAllocated(OrderEntryModel orderEntryModel)
Gets the quantity that has been allocated for the givenOrderEntryModel
- Parameters:
orderEntryModel
- the given order entry for which we want to get the allocated quantity- Returns:
- the quantity allocated for the given order entry
-
getQuantityUnallocated
java.lang.Long getQuantityUnallocated(OrderEntryModel orderEntryModel)
Gets the quantity that has not been allocated for the givenOrderEntryModel
- Parameters:
orderEntryModel
- the given order entry for which we want to get the unallocated quantity- Returns:
- the quantity unallocated for the given order entry
-
getQuantityPending
java.lang.Long getQuantityPending(OrderEntryModel orderEntryModel)
Gets the pending quantity for the givenOrderEntryModel
- Parameters:
orderEntryModel
- the given order entry for which we want to get the pending quantity- Returns:
- the quantity pending for the given order entry
-
getQuantityReturned
java.lang.Long getQuantityReturned(OrderEntryModel orderEntryModel)
Gets the quantity that has been returned for the givenOrderEntryModel
- Parameters:
orderEntryModel
- the given order entry for which we want to get the returned quantity- Returns:
- the quantity returned for the given order entry
-
getQuantityDeclined
java.lang.Long getQuantityDeclined(OrderEntryModel orderEntryModel)
Gets the quantity that was declined for the givenOrderEntryModel
- Parameters:
orderEntryModel
- the given order entry for which we want to get the declined quantity- Returns:
- the quantity declined for the given order entry
-
-