Class LoyaltyRedemptionLevel
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.loyalty.redemptionlevel.LoyaltyRedemptionLevel
-
- Direct Known Subclasses:
RedemptionLevelAmount,RedemptionLevelBookCouponGroup,RedemptionLevelCoupon,RedemptionLevelDiscount,RedemptionLevelOther
public abstract class LoyaltyRedemptionLevel extends Object
Represents the base class for different types of loyalty redemption levels. This class serves as a common structure for redemption levels, where each specific type of redemption level (e.g., amount, discount, coupon) will extend this base class.This class is annotated for JSON serialization and polymorphism, allowing subclasses such as RedemptionLevelAmount, RedemptionLevelDiscount, RedemptionLevelCoupon, and RedemptionLevelOther to be deserialized appropriately.
- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description LoyaltyRedemptionLevel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMemberCategoryCode()Gets the member category code for eligibility.StringgetMemberStatusCode()Gets the member status code for eligibility.StringgetMemberTagCode()Gets the member tag code for eligibility.IntegergetPoints()Gets the points required for eligibility.voidsetMemberCategoryCode(String memberCategoryCode)Sets the member category code for eligibility.voidsetMemberStatusCode(String memberStatusCode)Sets the member status code for eligibility.voidsetMemberTagCode(String memberTagCode)Sets the member tag code for eligibility.voidsetPoints(Integer points)Sets the points required for eligibility.
-
-
-
Method Detail
-
getPoints
public Integer getPoints()
Gets the points required for eligibility.- Returns:
- the points required for this redemption level
-
setPoints
public void setPoints(Integer points)
Sets the points required for eligibility.- Parameters:
points- the points required for this redemption level
-
getMemberCategoryCode
public String getMemberCategoryCode()
Gets the member category code for eligibility.- Returns:
- the member category code
-
setMemberCategoryCode
public void setMemberCategoryCode(String memberCategoryCode)
Sets the member category code for eligibility.- Parameters:
memberCategoryCode- the member category code
-
getMemberTagCode
public String getMemberTagCode()
Gets the member tag code for eligibility.- Returns:
- the member tag code
-
setMemberTagCode
public void setMemberTagCode(String memberTagCode)
Sets the member tag code for eligibility.- Parameters:
memberTagCode- the member tag code
-
getMemberStatusCode
public String getMemberStatusCode()
Gets the member status code for eligibility.- Returns:
- the member status code
-
setMemberStatusCode
public void setMemberStatusCode(String memberStatusCode)
Sets the member status code for eligibility.- Parameters:
memberStatusCode- the member status code
-
-