Class RedemptionLevelAmount
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.loyalty.redemptionlevel.LoyaltyRedemptionLevel
-
- com.inteliqua.rest.customer.payload.loyalty.redemptionlevel.RedemptionLevelAmount
-
public class RedemptionLevelAmount extends LoyaltyRedemptionLevel
Represents a redemption level where the reward is a specific monetary amount. This class extendsLoyaltyRedemptionLeveland includes additional properties for the redemption amount and currency.The amount and currency fields define the value of the reward that can be redeemed at the specified point threshold.
- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description RedemptionLevelAmount()Default constructor required for JAX-RS (Java API for RESTful Web Services).RedemptionLevelAmount(Integer points, Double amount, String currency, String memberCategoryCode, String memberTagCode, String memberStatusCode)Constructs a RedemptionLevelAmount object with specified values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetAmount()Gets the monetary amount for this redemption level.StringgetCurrency()Gets the currency code associated with the redemption amount.voidsetAmount(Double amount)Sets the monetary amount for this redemption level.voidsetCurrency(String currency)Sets the currency code associated with the redemption amount.-
Methods inherited from class com.inteliqua.rest.customer.payload.loyalty.redemptionlevel.LoyaltyRedemptionLevel
getMemberCategoryCode, getMemberStatusCode, getMemberTagCode, getPoints, setMemberCategoryCode, setMemberStatusCode, setMemberTagCode, setPoints
-
-
-
-
Constructor Detail
-
RedemptionLevelAmount
public RedemptionLevelAmount()
Default constructor required for JAX-RS (Java API for RESTful Web Services).
-
RedemptionLevelAmount
public RedemptionLevelAmount(Integer points, Double amount, String currency, String memberCategoryCode, String memberTagCode, String memberStatusCode)
Constructs a RedemptionLevelAmount object with specified values.- Parameters:
points- the number of points required for this redemption levelamount- the monetary amount for this redemption levelcurrency- the currency code associated with the amount (e.g., "USD")memberCategoryCode- the member category code for eligibilitymemberTagCode- the member tag code for eligibilitymemberStatusCode- the member status code for eligibility
-
-
Method Detail
-
getAmount
public Double getAmount()
Gets the monetary amount for this redemption level.- Returns:
- the redemption amount
-
setAmount
public void setAmount(Double amount)
Sets the monetary amount for this redemption level.- Parameters:
amount- the amount to set
-
getCurrency
public String getCurrency()
Gets the currency code associated with the redemption amount.- Returns:
- the currency code (e.g., "USD")
-
setCurrency
public void setCurrency(String currency)
Sets the currency code associated with the redemption amount.- Parameters:
currency- the currency code to set (e.g., "USD")
-
-