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
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Object.clone()
public OrderKey getOrderKey()
public void setOrderKey(OrderKey aOrderKey)
aOrderKey
- The OrderKey to set.public RewardSpecification getRewardSpecification()
public void setRewardSpecification(RewardSpecification rewardSpecification)
rewardSpecification
- The RewardSpecification object to set.public RewardChoice getRewardChoice()
public void setRewardChoice(RewardChoice rewardChoice)
rewardChoice
- The RewardChoice to set.public PromotionRewardOptionKey getPromotionRewardOptionKey()
public void setPromotionRewardOptionKey(PromotionRewardOptionKey aPromotionRewardOptionKey)
aPromotionRewardOptionKey
- The PromotionRewardOptionKey to set.public PromotionKey getPromotionKey()
public void setPromotionKey(PromotionKey promotionKey)
promotionKey
- The PromotionKey to set.public int getStatus()
public void setStatus(int aStatus)
aStatus
- The status to set.