Class ChangeCustomerReviewRequest

java.lang.Object
com.dzidzi.dto.customerReview.ChangeCustomerReviewRequest

public class ChangeCustomerReviewRequest extends Object
ChangeCustomerReviewRequest represents the DTO request containing the objects used to update an existing review.
  • Constructor Details

    • ChangeCustomerReviewRequest

      public ChangeCustomerReviewRequest()
    • ChangeCustomerReviewRequest

      @ConstructorProperties({"id","rating","comment"}) public ChangeCustomerReviewRequest(UUID id, Integer rating, String comment)
      Creates a new ChangeCustomerReviewRequest instance.
      Parameters:
      id - The id of the review
      rating - The new rating for the restaurant/courier
      comment - The new comment you'd like to add
  • Method Details

    • builder

      public static ChangeCustomerReviewRequest.Builder builder()
    • getId

      public UUID getId()
      The id of the review
    • getRating

      public Integer getRating()
      The new rating for the restaurant/courier
    • getComment

      public String getComment()
      The new comment you'd like to add
    • setId

      public void setId(UUID id)
      The id of the review