Interface ReturnRequestDao

    • Method Detail

      • createReturnRequest

        ReturnRequestModel createReturnRequest​(OrderModel order)
        Creates an "return request" object (@link ReturnRequest} for the order to be returned.
        Parameters:
        order - the order which should be returned
        Returns:
        ReturnRequest instance, which contains among others the RMA code.
      • getReturnRequests

        java.util.List<ReturnRequestModel> getReturnRequests​(java.lang.String orderCode)
        Returns the "return request" for the specified order
        Parameters:
        orderCode - code of the order we ask for the "return request"
        Returns:
        "return request" of the order