Interface ConsignmentEntryQuantityService

  • All Known Implementing Classes:
    DefaultConsignmentEntryQuantityService

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

      • getQuantityShipped

        java.lang.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

        java.lang.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

        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