public class RewardOption
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
static int | STATUS_APPLIED
Constant - This RewardOption has been applied to a promotion.
|
static int | STATUS_PENDING
Constant - This RewardOption is in pending state.
|
static int | STATUS_SELECTED
Constant - This RewardOption has been selected for a promotion and pending promotion policy check.
|
Constructor and Description |
---|
RewardOption() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object | clone() |
OrderKey | getOrderKey()
Gets the OrderKey.
|
PromotionKey | getPromotionKey()
Gets the PromotionKey object.
|
PromotionRewardOptionKey | getPromotionRewardOptionKey()
Gets the PromotionRewardOptionKey.
|
RewardChoice | getRewardChoice()
Gets the RewardChoice object.
|
RewardSpecification | getRewardSpecification()
Gets the RewardSpecification object.
|
int | getStatus()
Gets the status.
|
void | setOrderKey(OrderKey aOrderKey)
Sets the OrderKey.
|
void | setPromotionKey(PromotionKey promotionKey)
Sets the PromotionKey object.
|
void | setPromotionRewardOptionKey(PromotionRewardOptionKey aPromotionRewardOptionKey)
Sets the PromotionRewardOptionKey.
|
void | setRewardChoice(RewardChoice rewardChoice)
Sets the RewardChoice object.
|
void | setRewardSpecification(RewardSpecification rewardSpecification)
Sets the RewardSpecification object.
|
void | setStatus(int aStatus)
Sets the status.
|
public static final java.lang.String COPYRIGHT
public static final int STATUS_PENDING
public static final int STATUS_SELECTED
public static final int STATUS_APPLIED
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public OrderKey getOrderKey()
public void setOrderKey(OrderKey aOrderKey)
public RewardSpecification getRewardSpecification()
public void setRewardSpecification(RewardSpecification rewardSpecification)
public RewardChoice getRewardChoice()
public void setRewardChoice(RewardChoice rewardChoice)
public PromotionRewardOptionKey getPromotionRewardOptionKey()
public void setPromotionRewardOptionKey(PromotionRewardOptionKey aPromotionRewardOptionKey)
public PromotionKey getPromotionKey()
public void setPromotionKey(PromotionKey promotionKey)
public int getStatus()
public void setStatus(int aStatus)