Class 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 the ClubPayload class and implementing APIResponseDTO. 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 Detail

      • MembershipClubResponse

        public MembershipClubResponse()
    • Method Detail

      • getLastModificationDate

        public Date getLastModificationDate()
        Gets the date and time when the club data was last modified.
        Specified by:
        getLastModificationDate in interface com.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:
        setLastModificationDate in interface com.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