Class RedemptionLevelDiscount
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.loyalty.redemptionlevel.LoyaltyRedemptionLevel
-
- com.inteliqua.rest.customer.payload.loyalty.redemptionlevel.RedemptionLevelDiscount
-
public class RedemptionLevelDiscount extends LoyaltyRedemptionLevel
Represents a redemption level where the reward is a discount. This class extendsLoyaltyRedemptionLeveland includes a property for the discount percentage or amount associated with the redemption level. The discount is applied based on the member's eligibility.- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description RedemptionLevelDiscount()Default constructor required for JAX-RS (Java API for RESTful Web Services).RedemptionLevelDiscount(Integer points, Double discount, String memberCategoryCode, String memberTagCode, String memberStatusCode)Constructs a RedemptionLevelDiscount object with specified values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetDiscount()Gets the discount value for the redemption level.voidsetDiscount(Double discount)Sets the discount value for the redemption level.-
Methods inherited from class com.inteliqua.rest.customer.payload.loyalty.redemptionlevel.LoyaltyRedemptionLevel
getMemberCategoryCode, getMemberStatusCode, getMemberTagCode, getPoints, setMemberCategoryCode, setMemberStatusCode, setMemberTagCode, setPoints
-
-
-
-
Constructor Detail
-
RedemptionLevelDiscount
public RedemptionLevelDiscount()
Default constructor required for JAX-RS (Java API for RESTful Web Services).
-
RedemptionLevelDiscount
public RedemptionLevelDiscount(Integer points, Double discount, String memberCategoryCode, String memberTagCode, String memberStatusCode)
Constructs a RedemptionLevelDiscount object with specified values.- Parameters:
points- the number of points required for this redemption leveldiscount- the discount associated with this redemption levelmemberCategoryCode- the member category code for eligibilitymemberTagCode- the member tag code for eligibilitymemberStatusCode- the member status code for eligibility
-
-