public class OrderItemAdjustmentDataBean extends OrderItemAdjustmentDataBeanBase implements com.ibm.commerce.order.beans.OrderItemAdjustmentInputDataBean, com.ibm.commerce.order.beans.OrderItemAdjustmentSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
OrderItemAdjustmentDataBean()
Constructs an OrderItemAdjustmentDataBean.
|
OrderItemAdjustmentDataBean(OrderItemAdjustmentAccessBean aabOrderItemAdjustment)
Constructs an OrderItemAdjustmentDataBean from an OrderItemAdjustmentAccessBean by
extracting the OrderItemAdjustment Entity reference from the OrderItemAdjustmentAccessBean.
|
Modifier and Type | Method and Description |
---|---|
CalculationCodeDataBean |
getCalculationCodeDataBean()
This method returns the
CalculationCodeDataBean (indirectly)
associated with this OrderItemAdjustment. |
CalculationCodeDescriptionDataBean |
getCalculationCodeDescriptionDataBean()
This method returns the
CalculationCodeDescriptionDataBean of the
CalculationCodeDataBean (indirectly)
associated with this OrderItemAdjustment corresponding to the
current Language and Store. |
java.lang.String |
getCalculationCodeDescriptionString()
This method returns the description string of the
CalculationCodeDataBean (indirectly)
associated with this OrderItemAdjustment corresponding to the
current Language and Store. |
java.lang.String |
getCalculationCodeLongDescriptionString()
This method returns the long description string of the
CalculationCodeDataBean (indirectly)
associated with this OrderItemAdjustment corresponding to the
current Language and Store. |
CommandContext |
getCommandContext()
This method returns the command context set within this bean.
|
java.lang.String |
getDataBeanKeyOrderItemAdjustmentId()
This method returns order item adjustment id.
|
FormattedMonetaryAmountDataBean |
getFormattedAmount()
This method returns the formatted amount of this OrderItemAdjustment.
|
OrderAdjustmentDataBean |
getOrderAdjustmentDataBean()
This method returns the
OrderAdjustmentDataBean associated with this
OrderItemAdjustment. |
OrderAdjustmentDescriptionDataBean |
getOrderAdjustmentDescriptionDataBean()
This method returns the
OrderAdjustmentDescriptionDataBean of
the OrderAdjustmentDataBean associated with this
OrderItemAdjustment that corresponds to the current Language and
Store. |
java.lang.String |
getOrderAdjustmentDescriptionString()
This method returns the description string of the
OrderAdjustmentDataBean associated with this
OrderItemAdjustment that corresponds to the current Language and
Store. |
OrderItemDataBean |
getOrderItemDataBean()
This method returns the
OrderItemDataBean associated with this
OrderItemAdjustment. |
TypedProperty |
getRequestProperties()
This method returns the request property set within this bean.
|
void |
populate()
This method is used to populate the OrderItemAdjustmentDataBean.
|
void |
setCommandContext(CommandContext aCommandContext)
This method sets the command context within this bean.
|
void |
setDataBeanKeyOrderItemAdjustmentId(java.lang.String aOrderItemAdjustmentId)
This method sets order item adjustment id.
|
void |
setRequestProperties(TypedProperty aRequestProperty)
This method sets the request property within this bean.
|
getDelegate
findByOrderAdjustment, findByOrderAdjustmentForUpdate, findByOrderId, findByOrderIdAndCalculationUsageId, findByOrderItem, findByOrderItemAndCalculationUsageId, findByOrderItemIds, getAmount, getAmountInEntityType, getEntity, getOrderAdjustmentId, getOrderAdjustmentIdInEntityType, getOrderItemAdjustmentId, getOrderItemAdjustmentIdInEntityType, getOrderItemId, getOrderItemIdInEntityType, instantiateEntity, setAmount, setAmount, setInitKey_orderItemAdjustmentId, setInitKey_orderItemAdjustmentId, setOrderAdjustmentId, setOrderAdjustmentId, setOrderItemId, setOrderItemId
public static final java.lang.String COPYRIGHT
public OrderItemAdjustmentDataBean()
public OrderItemAdjustmentDataBean(OrderItemAdjustmentAccessBean aabOrderItemAdjustment)
aabOrderItemAdjustment
- OrderItemAdjustmentAccessBeanjava.lang.Exception
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty aRequestProperty)
setRequestProperties
in interface InputDataBean
aRequestProperty
- TypedPropertypublic java.lang.String getDataBeanKeyOrderItemAdjustmentId()
getDataBeanKeyOrderItemAdjustmentId
in interface com.ibm.commerce.order.beans.OrderItemAdjustmentSmartDataBean
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- com.ibm.commerce.command.CommandContextpublic void setDataBeanKeyOrderItemAdjustmentId(java.lang.String aOrderItemAdjustmentId)
setDataBeanKeyOrderItemAdjustmentId
in interface com.ibm.commerce.order.beans.OrderItemAdjustmentInputDataBean
aOrderItemAdjustmentId
- java.lang.Stringpublic void populate()
populate()
method.populate
in interface SmartDataBean
java.lang.Exception
setDataBeanKeyOrderItemAdjustmentId(String)
public OrderAdjustmentDataBean getOrderAdjustmentDataBean()
OrderAdjustmentDataBean
associated with this
OrderItemAdjustment.public OrderAdjustmentDescriptionDataBean getOrderAdjustmentDescriptionDataBean()
OrderAdjustmentDescriptionDataBean
of
the OrderAdjustmentDataBean
associated with this
OrderItemAdjustment that corresponds to the current Language and
Store. Equivalent to
getOrderAdjustmentDataBean()
.getDescriptionDataBean()
.public java.lang.String getOrderAdjustmentDescriptionString()
OrderAdjustmentDataBean
associated with this
OrderItemAdjustment that corresponds to the current Language and
Store. Equivalent to
getOrderAdjustmentDescriptionDataBean()
.getDescription()
.public CalculationCodeDataBean getCalculationCodeDataBean()
CalculationCodeDataBean
(indirectly)
associated with this OrderItemAdjustment. Equivalent to
getOrderAdjustmentDataBean()
.getCalculationCodeDataBean()
.public CalculationCodeDescriptionDataBean getCalculationCodeDescriptionDataBean()
CalculationCodeDescriptionDataBean
of the
CalculationCodeDataBean
(indirectly)
associated with this OrderItemAdjustment corresponding to the
current Language and Store. Equivalent to
getCalculationCodeDataBean()
.getDescriptionDataBean()
.public java.lang.String getCalculationCodeDescriptionString()
CalculationCodeDataBean
(indirectly)
associated with this OrderItemAdjustment corresponding to the
current Language and Store. Equivalent to
getCalculationCodeDataBean()
.getDescriptionString()
.public java.lang.String getCalculationCodeLongDescriptionString()
CalculationCodeDataBean
(indirectly)
associated with this OrderItemAdjustment corresponding to the
current Language and Store. Equivalent to
getCalculationCodeDataBean()
.getLongDescriptionString()
.public OrderItemDataBean getOrderItemDataBean()
OrderItemDataBean
associated with this
OrderItemAdjustment.public FormattedMonetaryAmountDataBean getFormattedAmount()
OrderItemAdjustmentAccessBean.getAmountInEntityType()