Interface OrderEntryQuantityService
- All Known Implementing Classes:
DefaultOrderEntryQuantityService
public interface OrderEntryQuantityService
Provides the methods to retrieve quantities according to an order entry
-
Method Summary
Modifier and TypeMethodDescriptiongetQuantityAllocated(OrderEntryModel orderEntryModel) Gets the quantity that has been allocated for the givenOrderEntryModelgetQuantityCancelled(OrderEntryModel orderEntryModel) Gets the quantity that has been cancelled for the givenOrderEntryModelgetQuantityDeclined(OrderEntryModel orderEntryModel) Gets the quantity that was declined for the givenOrderEntryModelgetQuantityPending(OrderEntryModel orderEntryModel) Gets the pending quantity for the givenOrderEntryModelgetQuantityReturned(OrderEntryModel orderEntryModel) Gets the quantity that has been returned for the givenOrderEntryModelgetQuantityShipped(OrderEntryModel orderEntryModel) Gets the quantity that has been shipped for the givenOrderEntryModelgetQuantityUnallocated(OrderEntryModel orderEntryModel) Gets the quantity that has not been allocated for the givenOrderEntryModel
-
Method Details
-
getQuantityShipped
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
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
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
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
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
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
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
-