public interface AdjustmentType
The following features are supported:
CommerceFoundationPackage.getAdjustmentType()
Modifier and Type | Method and Description |
---|---|
MonetaryAmountType |
getAmount()
Returns the value of the 'Amount' containment reference.
|
com.ibm.commerce.foundation.common.datatypes.CalculationCodeIdentifierType |
getCalculationCodeID()
Returns the value of the 'Calculation Code ID' containment reference.
|
java.lang.String |
getCode()
Returns the value of the 'Code' attribute.
|
DescriptionType |
getDescription()
Returns the value of the 'Description' containment reference.
|
java.lang.Object |
getDisplayLevel()
Returns the value of the 'Display Level' attribute.
|
java.lang.String |
getPromotionType()
Returns the value of the 'Promotion Type' attribute.
|
java.lang.String |
getUsage()
Returns the value of the 'Usage' attribute.
|
UserDataType |
getUserData()
Returns the value of the 'User Data' containment reference.
|
boolean |
isIsPromotionCodeRequired()
Returns the value of the 'Is Promotion Code Required' attribute.
|
boolean |
isSetIsPromotionCodeRequired()
Returns whether the value of the '
Is Promotion Code Required ' attribute is set. |
void |
setAmount(MonetaryAmountType value)
Sets the value of the '
Amount ' containment reference. |
void |
setCalculationCodeID(com.ibm.commerce.foundation.common.datatypes.CalculationCodeIdentifierType value)
Sets the value of the '
Calculation Code ID ' containment reference. |
void |
setCode(java.lang.String value)
Sets the value of the '
Code ' attribute. |
void |
setDescription(DescriptionType value)
Sets the value of the '
Description ' containment reference. |
void |
setDisplayLevel(java.lang.Object value)
Sets the value of the '
Display Level ' attribute. |
void |
setIsPromotionCodeRequired(boolean value)
Sets the value of the '
Is Promotion Code Required ' attribute. |
void |
setPromotionType(java.lang.String value)
Sets the value of the '
Promotion Type ' attribute. |
void |
setUsage(java.lang.String value)
Sets the value of the '
Usage ' attribute. |
void |
setUserData(UserDataType value)
Sets the value of the '
User Data ' containment reference. |
void |
unsetIsPromotionCodeRequired()
Unsets the value of the '
Is Promotion Code Required ' attribute. |
java.lang.String getUsage()
If the meaning of the 'Usage' attribute isn't clear, there really should be more of a description here...
setUsage(String)
,
CommerceFoundationPackage.getAdjustmentType_Usage()
void setUsage(java.lang.String value)
Usage
' attribute.
value
- the new value of the 'Usage' attribute.getUsage()
com.ibm.commerce.foundation.common.datatypes.CalculationCodeIdentifierType getCalculationCodeID()
setCalculationCodeID(CalculationCodeIdentifierType)
,
CommerceFoundationPackage.getAdjustmentType_CalculationCodeID()
void setCalculationCodeID(com.ibm.commerce.foundation.common.datatypes.CalculationCodeIdentifierType value)
Calculation Code ID
' containment reference.
value
- the new value of the 'Calculation Code ID' containment reference.getCalculationCodeID()
java.lang.String getCode()
setCode(String)
,
CommerceFoundationPackage.getAdjustmentType_Code()
void setCode(java.lang.String value)
Code
' attribute.
value
- the new value of the 'Code' attribute.getCode()
DescriptionType getDescription()
setDescription(DescriptionType)
,
CommerceFoundationPackage.getAdjustmentType_Description()
void setDescription(DescriptionType value)
Description
' containment reference.
value
- the new value of the 'Description' containment reference.getDescription()
MonetaryAmountType getAmount()
setAmount(MonetaryAmountType)
,
CommerceFoundationPackage.getAdjustmentType_Amount()
void setAmount(MonetaryAmountType value)
Amount
' containment reference.
value
- the new value of the 'Amount' containment reference.getAmount()
java.lang.Object getDisplayLevel()
setDisplayLevel(Object)
,
CommerceFoundationPackage.getAdjustmentType_DisplayLevel()
void setDisplayLevel(java.lang.Object value)
Display Level
' attribute.
value
- the new value of the 'Display Level' attribute.getDisplayLevel()
boolean isIsPromotionCodeRequired()
isSetIsPromotionCodeRequired()
,
unsetIsPromotionCodeRequired()
,
setIsPromotionCodeRequired(boolean)
,
CommerceFoundationPackage.getAdjustmentType_IsPromotionCodeRequired()
void setIsPromotionCodeRequired(boolean value)
Is Promotion Code Required
' attribute.
value
- the new value of the 'Is Promotion Code Required' attribute.isSetIsPromotionCodeRequired()
,
unsetIsPromotionCodeRequired()
,
isIsPromotionCodeRequired()
void unsetIsPromotionCodeRequired()
Is Promotion Code Required
' attribute.
boolean isSetIsPromotionCodeRequired()
Is Promotion Code Required
' attribute is set.
unsetIsPromotionCodeRequired()
,
isIsPromotionCodeRequired()
,
setIsPromotionCodeRequired(boolean)
java.lang.String getPromotionType()
setPromotionType(String)
,
CommerceFoundationPackage.getAdjustmentType_PromotionType()
void setPromotionType(java.lang.String value)
Promotion Type
' attribute.
value
- the new value of the 'Promotion Type' attribute.getPromotionType()
UserDataType getUserData()
setUserData(UserDataType)
,
CommerceFoundationPackage.getAdjustmentType_UserData()
void setUserData(UserDataType value)
User Data
' containment reference.
value
- the new value of the 'User Data' containment reference.getUserData()