public class OrderAdjustmentDataBean extends OrderAdjustmentDataBeanBase implements com.ibm.commerce.order.beans.OrderAdjustmentInputDataBean, com.ibm.commerce.order.beans.OrderAdjustmentSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
OrderAdjustmentDataBean()
Constructs an OrderAdjustmentDataBean.
|
OrderAdjustmentDataBean(OrderAdjustmentAccessBean aabOrderAdjustment)
Constructs an OrderAdjustmentDataBean from an OrderAdjustmentAccessBean by
extracting the OrderAdjustment Entity reference from the OrderAdjustmentAccessBean.
|
Modifier and Type | Method and Description |
---|---|
CalculationCodeDataBean |
getCalculationCodeDataBean()
This method returns the
CalculationCodeDataBean associated with this
OrderAdjustment. |
CalculationCodeDescriptionDataBean |
getCalculationCodeDescriptionDataBean()
This method returns the
CalculationCodeDescriptionDataBean of the
CalculationCodeDataBean associated with this
OrderAdjustment that corresponds to the current Language and
Store. |
java.lang.String |
getCalculationCodeDescriptionString()
This method returns the description string of the
CalculationCodeDataBean associated with this
OrderAdjustment that corresponds to the current Language and
Store. |
java.lang.String |
getCalculationCodeLongDescriptionString()
This method returns the long description string of the
CalculationCodeDataBean associated with this
OrderAdjustment that corresponds to the current Language and
Store. |
CommandContext |
getCommandContext()
This method returns the command context set within this bean.
|
java.lang.String |
getDataBeanKeyOrderAdjustmentId()
This method returns order adjustment id.
|
OrderAdjustmentDescriptionDataBean |
getDescriptionDataBean()
This method returns the
OrderAdjustmentDescriptionDataBean of this
OrderAdjustment that corresponds to the current Language and
Store. |
java.lang.String |
getDescriptionString()
This method returns the description string of this OrderAdjustment that
corresponds to the current Language and Store.
|
FormattedMonetaryAmountDataBean |
getFormattedAmount()
This method returns the formatted amount of this OrderAdjustment.
|
OrderDataBean |
getOrderDataBean()
This method returns the
OrderDataBean associated with this
OrderAdjustment. |
TypedProperty |
getRequestProperties()
This method returns the request property set within this bean.
|
void |
populate()
This method is used to populate the OrderAdjustmentDataBean.
|
void |
setCommandContext(CommandContext aCommandContext)
This method sets the command context within this bean.
|
void |
setDataBeanKeyOrderAdjustmentId(java.lang.String aOrderAdjustmentId)
This method sets order adjustment id.
|
void |
setRequestProperties(TypedProperty aRequestProperty)
This method sets the request property within this bean.
|
getDelegate
findByOrder, findByOrderAndUsage, findByOrderAndUsageForUpdate, findByOrderForUpdate, getAmount, getAmountInEntityType, getCalculationCodeId, getCalculationCodeIdInEntityType, getCalculationUsageId, getCalculationUsageIdInEntityType, getDescription, getDisplayLevel, getDisplayLevelInEntityType, getEntity, getOrderAdjustmentId, getOrderAdjustmentIdInEntityType, getOrderId, getOrderIdInEntityType, instantiateEntity, setAmount, setAmount, setCalculationCodeId, setCalculationCodeId, setCalculationUsageId, setCalculationUsageId, setDisplayLevel, setDisplayLevel, setInitKey_orderAdjustmentId, setInitKey_orderAdjustmentId, setOrderId, setOrderId
public static final java.lang.String COPYRIGHT
public OrderAdjustmentDataBean()
public OrderAdjustmentDataBean(OrderAdjustmentAccessBean aabOrderAdjustment)
aabOrderAdjustment
- com.ibm.commerce.order.objects.OrderAdjustmentAccessBeanjava.lang.Exception
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty aRequestProperty)
setRequestProperties
in interface InputDataBean
aRequestProperty
- com.ibm.commerce.datatype.TypedPropertypublic java.lang.String getDataBeanKeyOrderAdjustmentId()
getDataBeanKeyOrderAdjustmentId
in interface com.ibm.commerce.order.beans.OrderAdjustmentSmartDataBean
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- com.ibm.commerce.command.CommandContextpublic void setDataBeanKeyOrderAdjustmentId(java.lang.String aOrderAdjustmentId)
setDataBeanKeyOrderAdjustmentId
in interface com.ibm.commerce.order.beans.OrderAdjustmentInputDataBean
aOrderAdjustmentId
- java.lang.Stringpublic void populate()
populate()
method.populate
in interface SmartDataBean
java.lang.Exception
setDataBeanKeyOrderAdjustmentId(String)
public OrderAdjustmentDescriptionDataBean getDescriptionDataBean()
OrderAdjustmentDescriptionDataBean
of this
OrderAdjustment that corresponds to the current Language and
Store.public java.lang.String getDescriptionString()
getDescriptionDataBean()
.getDescription()
.public CalculationCodeDataBean getCalculationCodeDataBean()
CalculationCodeDataBean
associated with this
OrderAdjustment.public CalculationCodeDescriptionDataBean getCalculationCodeDescriptionDataBean()
CalculationCodeDescriptionDataBean
of the
CalculationCodeDataBean
associated with this
OrderAdjustment that corresponds to the current Language and
Store. Equivalent to
getCalculationCodeDataBean()
.getDescriptionDataBean()
.public java.lang.String getCalculationCodeDescriptionString()
CalculationCodeDataBean
associated with this
OrderAdjustment that corresponds to the current Language and
Store. Equivalent to
getCalculationCodeDataBean()
.getDescriptionString()
.public java.lang.String getCalculationCodeLongDescriptionString()
CalculationCodeDataBean
associated with this
OrderAdjustment that corresponds to the current Language and
Store. Equivalent to
getCalculationCodeDataBean()
.getLongDescriptionString()
.public OrderDataBean getOrderDataBean()
OrderDataBean
associated with this
OrderAdjustment.public FormattedMonetaryAmountDataBean getFormattedAmount()
OrderAdjustmentAccessBean.getAmountInEntityType()