public interface PromotionType
The following features are supported:
PromotionPackage.getPromotionType()| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdministrativeName()
Returns the value of the 'Administrative Name' attribute.
|
java.lang.String |
getComments()
Returns the value of the 'Comments' attribute.
|
java.lang.String |
getControlParameter()
Returns the value of the 'Control Parameter' attribute.
|
CouponAttributeType |
getCouponAttribute()
Returns the value of the 'Coupon Attribute' containment reference.
|
java.util.List |
getDescription()
Returns the value of the 'Description' containment reference list.
|
java.util.List |
getElement()
Returns the value of the 'Element' containment reference list.
|
java.lang.Object |
getExclusiveType()
Returns the value of the 'Exclusive Type' attribute.
|
int |
getPriority()
Returns the value of the 'Priority' attribute.
|
java.util.List |
getPromotionCode()
Returns the value of the 'Promotion Code' attribute list.
|
com.ibm.commerce.promotion.facade.datatypes.PromotionCodeSpecificationType |
getPromotionCodeSpecification()
Returns the value of the 'Promotion Code Specification' containment reference.
|
PromotionIdentifierType |
getPromotionIdentifier()
Returns the value of the 'Promotion Identifier' containment reference.
|
java.lang.String |
getPromotionType()
Returns the value of the 'Promotion Type' attribute.
|
PromotionRedemptionLimitType |
getRedemptionLimit()
Returns the value of the 'Redemption Limit' containment reference.
|
PromotionScheduleType |
getSchedule()
Returns the value of the 'Schedule' containment reference.
|
java.lang.Object |
getStatus()
Returns the value of the 'Status' attribute.
|
MonetaryAmountType |
getTargetSales()
Returns the value of the 'Target Sales' containment reference.
|
UserDataType |
getUserData()
Returns the value of the 'User Data' containment reference.
|
boolean |
isCouponRequired()
Returns the value of the 'Coupon Required' attribute.
|
boolean |
isPromotionCodeRequired()
Returns the value of the 'Promotion Code Required' attribute.
|
boolean |
isSetCouponRequired()
Returns whether the value of the '
Coupon Required' attribute is set. |
boolean |
isSetPriority()
Returns whether the value of the '
Priority' attribute is set. |
boolean |
isSetPromotionCodeRequired()
Returns whether the value of the '
Promotion Code Required' attribute is set. |
void |
setAdministrativeName(java.lang.String value)
Sets the value of the '
Administrative Name' attribute. |
void |
setComments(java.lang.String value)
Sets the value of the '
Comments' attribute. |
void |
setControlParameter(java.lang.String value)
Sets the value of the '
Control Parameter' attribute. |
void |
setCouponAttribute(CouponAttributeType value)
Sets the value of the '
Coupon Attribute' containment reference. |
void |
setCouponRequired(boolean value)
Sets the value of the '
Coupon Required' attribute. |
void |
setExclusiveType(java.lang.Object value)
Sets the value of the '
Exclusive Type' attribute. |
void |
setPriority(int value)
Sets the value of the '
Priority' attribute. |
void |
setPromotionCodeRequired(boolean value)
Sets the value of the '
Promotion Code Required' attribute. |
void |
setPromotionCodeSpecification(com.ibm.commerce.promotion.facade.datatypes.PromotionCodeSpecificationType value)
Sets the value of the '
Promotion Code Specification' containment reference. |
void |
setPromotionIdentifier(PromotionIdentifierType value)
Sets the value of the '
Promotion Identifier' containment reference. |
void |
setPromotionType(java.lang.String value)
Sets the value of the '
Promotion Type' attribute. |
void |
setRedemptionLimit(PromotionRedemptionLimitType value)
Sets the value of the '
Redemption Limit' containment reference. |
void |
setSchedule(PromotionScheduleType value)
Sets the value of the '
Schedule' containment reference. |
void |
setStatus(java.lang.Object value)
Sets the value of the '
Status' attribute. |
void |
setTargetSales(MonetaryAmountType value)
Sets the value of the '
Target Sales' containment reference. |
void |
setUserData(UserDataType value)
Sets the value of the '
User Data' containment reference. |
void |
unsetCouponRequired()
Unsets the value of the '
Coupon Required' attribute. |
void |
unsetPriority()
Unsets the value of the '
Priority' attribute. |
void |
unsetPromotionCodeRequired()
Unsets the value of the '
Promotion Code Required' attribute. |
PromotionIdentifierType getPromotionIdentifier()
setPromotionIdentifier(PromotionIdentifierType),
PromotionPackage.getPromotionType_PromotionIdentifier()void setPromotionIdentifier(PromotionIdentifierType value)
Promotion Identifier' containment reference.
value - the new value of the 'Promotion Identifier' containment reference.getPromotionIdentifier()java.lang.String getPromotionType()
setPromotionType(String),
PromotionPackage.getPromotionType_PromotionType()void setPromotionType(java.lang.String value)
Promotion Type' attribute.
value - the new value of the 'Promotion Type' attribute.getPromotionType()java.lang.Object getStatus()
setStatus(Object),
PromotionPackage.getPromotionType_Status()void setStatus(java.lang.Object value)
Status' attribute.
value - the new value of the 'Status' attribute.getStatus()int getPriority()
isSetPriority(),
unsetPriority(),
setPriority(int),
PromotionPackage.getPromotionType_Priority()void setPriority(int value)
Priority' attribute.
value - the new value of the 'Priority' attribute.isSetPriority(),
unsetPriority(),
getPriority()void unsetPriority()
Priority' attribute.
isSetPriority(),
getPriority(),
setPriority(int)boolean isSetPriority()
Priority' attribute is set.
unsetPriority(),
getPriority(),
setPriority(int)java.lang.Object getExclusiveType()
setExclusiveType(Object),
PromotionPackage.getPromotionType_ExclusiveType()void setExclusiveType(java.lang.Object value)
Exclusive Type' attribute.
value - the new value of the 'Exclusive Type' attribute.getExclusiveType()java.lang.String getAdministrativeName()
setAdministrativeName(String),
PromotionPackage.getPromotionType_AdministrativeName()void setAdministrativeName(java.lang.String value)
Administrative Name' attribute.
value - the new value of the 'Administrative Name' attribute.getAdministrativeName()java.lang.String getComments()
setComments(String),
PromotionPackage.getPromotionType_Comments()void setComments(java.lang.String value)
Comments' attribute.
value - the new value of the 'Comments' attribute.getComments()PromotionScheduleType getSchedule()
setSchedule(PromotionScheduleType),
PromotionPackage.getPromotionType_Schedule()void setSchedule(PromotionScheduleType value)
Schedule' containment reference.
value - the new value of the 'Schedule' containment reference.getSchedule()PromotionRedemptionLimitType getRedemptionLimit()
setRedemptionLimit(PromotionRedemptionLimitType),
PromotionPackage.getPromotionType_RedemptionLimit()void setRedemptionLimit(PromotionRedemptionLimitType value)
Redemption Limit' containment reference.
value - the new value of the 'Redemption Limit' containment reference.getRedemptionLimit()java.util.List getDescription()
DescriptionType.
The language specific descriptions of the promotion.
PromotionPackage.getPromotionType_Description()boolean isCouponRequired()
isSetCouponRequired(),
unsetCouponRequired(),
setCouponRequired(boolean),
PromotionPackage.getPromotionType_CouponRequired()void setCouponRequired(boolean value)
Coupon Required' attribute.
value - the new value of the 'Coupon Required' attribute.isSetCouponRequired(),
unsetCouponRequired(),
isCouponRequired()void unsetCouponRequired()
Coupon Required' attribute.
boolean isSetCouponRequired()
Coupon Required' attribute is set.
unsetCouponRequired(),
isCouponRequired(),
setCouponRequired(boolean)CouponAttributeType getCouponAttribute()
setCouponAttribute(CouponAttributeType),
PromotionPackage.getPromotionType_CouponAttribute()void setCouponAttribute(CouponAttributeType value)
Coupon Attribute' containment reference.
value - the new value of the 'Coupon Attribute' containment reference.getCouponAttribute()boolean isPromotionCodeRequired()
isSetPromotionCodeRequired(),
unsetPromotionCodeRequired(),
setPromotionCodeRequired(boolean),
PromotionPackage.getPromotionType_PromotionCodeRequired()void setPromotionCodeRequired(boolean value)
Promotion Code Required' attribute.
value - the new value of the 'Promotion Code Required' attribute.isSetPromotionCodeRequired(),
unsetPromotionCodeRequired(),
isPromotionCodeRequired()void unsetPromotionCodeRequired()
Promotion Code Required' attribute.
boolean isSetPromotionCodeRequired()
Promotion Code Required' attribute is set.
unsetPromotionCodeRequired(),
isPromotionCodeRequired(),
setPromotionCodeRequired(boolean)java.util.List getPromotionCode()
String.
Optional promotion codes associated with this promotion if the promotion code is required.
PromotionPackage.getPromotionType_PromotionCode()MonetaryAmountType getTargetSales()
setTargetSales(MonetaryAmountType),
PromotionPackage.getPromotionType_TargetSales()void setTargetSales(MonetaryAmountType value)
Target Sales' containment reference.
value - the new value of the 'Target Sales' containment reference.getTargetSales()java.util.List getElement()
PromotionElementType.
Promotion elements information associate with the FlowXML that are managed by a LOB tool and used for generating the actual promotion rule XML.
PromotionPackage.getPromotionType_Element()java.lang.String getControlParameter()
setControlParameter(String),
PromotionPackage.getPromotionType_ControlParameter()void setControlParameter(java.lang.String value)
Control Parameter' attribute.
value - the new value of the 'Control Parameter' attribute.getControlParameter()com.ibm.commerce.promotion.facade.datatypes.PromotionCodeSpecificationType getPromotionCodeSpecification()
setPromotionCodeSpecification(PromotionCodeSpecificationType),
PromotionPackage.getPromotionType_PromotionCodeSpecification()void setPromotionCodeSpecification(com.ibm.commerce.promotion.facade.datatypes.PromotionCodeSpecificationType value)
Promotion Code Specification' containment reference.
value - the new value of the 'Promotion Code Specification' containment reference.getPromotionCodeSpecification()UserDataType getUserData()
setUserData(UserDataType),
PromotionPackage.getPromotionType_UserData()void setUserData(UserDataType value)
User Data' containment reference.
value - the new value of the 'User Data' containment reference.getUserData()