Class CouponReservationData


  • public class CouponReservationData
    extends Object
    Represents the data related to a coupon reservation.

    This includes details like the reservation number, processing status, and relevant timestamps. Typically used to represent the reservation lifecycle of a coupon before or after it's redeemed.

    See Also:
    Author: nikritikos
    • Constructor Detail

      • CouponReservationData

        public CouponReservationData()
    • Method Detail

      • getReservationNumber

        public String getReservationNumber()
        Gets the reservation number.
        Returns:
        the unique reservation identifier
      • setReservationNumber

        public void setReservationNumber​(String reservationNumber)
        Sets the reservation number.
        Parameters:
        reservationNumber - the unique identifier to set
      • getProcessed

        public Boolean getProcessed()
        Checks whether the reservation has been processed.
        Returns:
        true if processed, otherwise false
      • setProcessed

        public void setProcessed​(Boolean processed)
        Sets the processed status of the reservation.
        Parameters:
        processed - true if the reservation has been processed
      • getProcessDate

        public Date getProcessDate()
        Gets the date when the reservation was processed.
        Returns:
        the processing date
      • setProcessDate

        public void setProcessDate​(Date processDate)
        Sets the date when the reservation was processed.
        Parameters:
        processDate - the processing date to set
      • getReservationDate

        public Date getReservationDate()
        Gets the date when the reservation occurred.
        Returns:
        the reservation date
      • setReservationDate

        public void setReservationDate​(Date reservationDate)
        Sets the date when the reservation occurred.
        Parameters:
        reservationDate - the reservation date to set