Class LoyaltyMemberTierResponse
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.loyalty.member.response.LoyaltyMemberTierResponse
-
- All Implemented Interfaces:
com.qivos.util.rest.mappers.APIResponseDTO
public class LoyaltyMemberTierResponse extends Object implements com.qivos.util.rest.mappers.APIResponseDTO
Represents the response containing loyalty member's tier information, including the tier name, the number of claimed benefits, and the number of remaining benefits. This class implements the APIResponseDTO interface.- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description LoyaltyMemberTierResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetClaimedBenefits()Gets the number of benefits claimed by the loyalty member.DategetLastModificationDate()Returns null for the last modification date as this class does not track it.IntegergetRemainingBenefits()Gets the number of benefits remaining for the loyalty member to claim.StringgetTier()Gets the tier of the loyalty member.voidsetClaimedBenefits(int claimedBenefits)Sets the number of claimed benefits for the loyalty member.voidsetLastModificationDate(Date arg0)No-op setter for the last modification date as this class does not track it.voidsetRemainingBenefits(Integer remainingBenefits)Sets the number of remaining benefits for the loyalty member.voidsetTier(String tier)Sets the tier for the loyalty member.
-
-
-
Method Detail
-
getTier
public String getTier()
Gets the tier of the loyalty member.- Returns:
- the tier level of the member (e.g., "Gold")
-
setTier
public void setTier(String tier)
Sets the tier for the loyalty member.- Parameters:
tier- the tier level to set (e.g., "Silver")
-
getClaimedBenefits
public int getClaimedBenefits()
Gets the number of benefits claimed by the loyalty member.- Returns:
- the number of claimed benefits
-
setClaimedBenefits
public void setClaimedBenefits(int claimedBenefits)
Sets the number of claimed benefits for the loyalty member.- Parameters:
claimedBenefits- the number of claimed benefits
-
getRemainingBenefits
public Integer getRemainingBenefits()
Gets the number of benefits remaining for the loyalty member to claim.- Returns:
- the number of remaining benefits
-
setRemainingBenefits
public void setRemainingBenefits(Integer remainingBenefits)
Sets the number of remaining benefits for the loyalty member.- Parameters:
remainingBenefits- the number of remaining benefits
-
getLastModificationDate
public Date getLastModificationDate()
Returns null for the last modification date as this class does not track it.- Specified by:
getLastModificationDatein interfacecom.qivos.util.rest.mappers.APIResponseDTO- Returns:
- null (no modification date)
-
setLastModificationDate
public void setLastModificationDate(Date arg0)
No-op setter for the last modification date as this class does not track it.- Specified by:
setLastModificationDatein interfacecom.qivos.util.rest.mappers.APIResponseDTO- Parameters:
arg0- unused parameter
-
-