Interface ConsignmentEntryQuantityService

All Known Implementing Classes:
DefaultConsignmentEntryQuantityService

public interface ConsignmentEntryQuantityService
Provides the methods to retrieve quantities according to an order entry
  • Method Details

    • getQuantityShipped

      Long getQuantityShipped(ConsignmentEntryModel consignmentEntryModel)
      Gets the quantity that has been shipped for the given ConsignmentEntryModel
      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

      Long getQuantityPending(ConsignmentEntryModel consignmentEntryModel)
      Gets the pending quantity for the given ConsignmentEntryModel
      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

      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