Class MembershipClubResponse
- java.lang.Object
-
- com.inteliqua.rest.system.club.payload.ClubPayload
-
- com.inteliqua.rest.customer.payload.club.response.MembershipClubResponse
-
- All Implemented Interfaces:
com.qivos.util.rest.mappers.APIResponseDTO
public class MembershipClubResponse extends ClubPayload implements com.qivos.util.rest.mappers.APIResponseDTO
Represents the response for a membership club, extending theClubPayloadclass and implementingAPIResponseDTO. This class adds information related to store codes and the last modification date of the club data.It includes additional data such as the store codes associated with the club and the timestamp for when the club data was last updated.
- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description MembershipClubResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStoreCode(String storeCode)Adds a store code to the list of store codes associated with the club.DategetLastModificationDate()Gets the date and time when the club data was last modified.List<String>getStoreCodes()Gets the list of store codes associated with the club.voidsetLastModificationDate(Date date)Sets the date and time when the club data was last modified.voidsetStoreCodes(List<String> storeCodes)Sets the list of store codes associated with the club.-
Methods inherited from class com.inteliqua.rest.system.club.payload.ClubPayload
addAttribute, getAttributes, getClubCode, getDefaultDiscountAmount, getDefaultDiscountPercentage, getEndDate, getStartDate, setClubCode, setDefaultDiscountAmount, setDefaultDiscountPercentage, setEndDate, setStartDate
-
-
-
-
Method Detail
-
getLastModificationDate
public Date getLastModificationDate()
Gets the date and time when the club data was last modified.- Specified by:
getLastModificationDatein interfacecom.qivos.util.rest.mappers.APIResponseDTO- Returns:
- the last modification date
-
setLastModificationDate
public void setLastModificationDate(Date date)
Sets the date and time when the club data was last modified.- Specified by:
setLastModificationDatein interfacecom.qivos.util.rest.mappers.APIResponseDTO- Parameters:
date- the date to set
-
getStoreCodes
public List<String> getStoreCodes()
Gets the list of store codes associated with the club.- Returns:
- the list of store codes
-
setStoreCodes
public void setStoreCodes(List<String> storeCodes)
Sets the list of store codes associated with the club.- Parameters:
storeCodes- the list of store codes to set
-
addStoreCode
public void addStoreCode(String storeCode)
Adds a store code to the list of store codes associated with the club.- Parameters:
storeCode- the store code to add
-
-