Interface ReturnRequestValidator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void validate​(ReturnRequest returnRequest, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments, List<com.broadleafcommerce.order.client.domain.ReturnAuthorization> returns)
      Determines that the item quantities to return are valid for the OrderFulfillments which can be returned from.
    • Method Detail

      • validate

        void validate​(ReturnRequest returnRequest,
                      List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments,
                      List<com.broadleafcommerce.order.client.domain.ReturnAuthorization> returns)
        Determines that the item quantities to return are valid for the OrderFulfillments which can be returned from.
        Parameters:
        returnRequest - the request to create a return
        fulfillments - the fulfillments for the order
        returns - the existing returns for the order