Class CouponReservationData
- java.lang.Object
-
- com.inteliqua.rest.coupon.payload.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 Summary
Constructors Constructor Description CouponReservationData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetProcessDate()Gets the date when the reservation was processed.BooleangetProcessed()Checks whether the reservation has been processed.DategetReservationDate()Gets the date when the reservation occurred.StringgetReservationNumber()Gets the reservation number.voidsetProcessDate(Date processDate)Sets the date when the reservation was processed.voidsetProcessed(Boolean processed)Sets the processed status of the reservation.voidsetReservationDate(Date reservationDate)Sets the date when the reservation occurred.voidsetReservationNumber(String reservationNumber)Sets the reservation number.
-
-
-
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:
trueif processed, otherwisefalse
-
setProcessed
public void setProcessed(Boolean processed)
Sets the processed status of the reservation.- Parameters:
processed-trueif 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
-
-