Class CouponSetResponseData
- java.lang.Object
-
- com.inteliqua.rest.couponset.controller.search.response.CouponSetResponseData
-
- All Implemented Interfaces:
com.qivos.util.rest.mappers.APIResponseDTO
- Direct Known Subclasses:
AmountCouponSetResponseData,CouponSetExtendedResponseData,DiscountCouponSetResponseData,PointCouponSetResponseData,SimpleCouponSetResponseData
public abstract class CouponSetResponseData extends Object implements com.qivos.util.rest.mappers.APIResponseDTO
Base DTO class representing the core information of a coupon set returned by the API. It provides common properties such as code, title, validity dates, availability, and associated category. This class is extended by more specialized response data classes.Supports version-aware serialization using
VersionAwarePropertyfor selective field inclusion based on API versioning.
-
-
Constructor Summary
Constructors Constructor Description CouponSetResponseData()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(EntityAttribute entityAttribute)Adds a dynamic attribute to the coupon set.abstract StringgetCouponSetType()Abstract method to return the type of coupon set.DategetLastModificationDate()This method is ignored in API output.voidsetLastModificationDate(Date date)This method is ignored in API input.
-
-
-
Method Detail
-
addAttribute
public void addAttribute(EntityAttribute entityAttribute)
Adds a dynamic attribute to the coupon set.- Parameters:
entityAttribute- the attribute to add
-
getCouponSetType
public abstract String getCouponSetType()
Abstract method to return the type of coupon set.- Returns:
- the string representation of the coupon set type
-
getLastModificationDate
public Date getLastModificationDate()
This method is ignored in API output. It is part of theAPIResponseDTOcontract.- Specified by:
getLastModificationDatein interfacecom.qivos.util.rest.mappers.APIResponseDTO- Returns:
- always returns
nullfor this implementation
-
setLastModificationDate
public void setLastModificationDate(Date date)
This method is ignored in API input. It is part of theAPIResponseDTOcontract.- Specified by:
setLastModificationDatein interfacecom.qivos.util.rest.mappers.APIResponseDTO- Parameters:
date- the last modification date (ignored)
-
-