public class HistoryCalculationAdjustment extends java.lang.Object implements XMLRecordable
com.ibm.commerce.order.objects.CalculationAdjustmentAccessBean
or get HistoryCalculationAdjustment
from the XML.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright string.
|
Constructor and Description |
---|
HistoryCalculationAdjustment() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fieldsToXML()
This method converts only this object's fields into an XML format representation.
|
java.math.BigDecimal |
getBaseCost()
This method returns the base cost of the calculation adjustment.
|
java.lang.Long |
getCalculationAdjustmentId()
This method returns the calculation adjustment id of calculation adjustment.
|
java.lang.Integer |
getCalculationUsageId()
This method returns the calculation usage id of calculation adjustment.
|
java.lang.Integer |
getField1()
This method returns the field1 of the calculation adjustment.
|
java.lang.String |
getField2()
This method returns the field2 of the calculation adjustment.
|
java.lang.Long |
getOrderId()
This method returns the order id related to the calculation adjustment.
|
java.math.BigDecimal |
getParameterAmount()
This method returns the parameterAmount of the calculation adjustment.
|
java.lang.Integer |
getParameterType()
This method returns the parameterType of the calculation adjustment.
|
java.lang.Long |
getServiceRepresentativeId()
This method returns the serviceRepresentative Id of the calculation adjustment.
|
java.lang.Integer |
getShippingModeId()
This method returns the shippingMode Id of the calculation adjustment.
|
void |
refresh()
This methods synchronizes this object with
com.ibm.commerce.order.objects.CalculationAdjustmentAccessBean . |
void |
setBaseCost(java.math.BigDecimal newBaseCost)
This method sets the base cost of the calculation adjustment.
|
void |
setCalculationAdjustment(CalculationAdjustmentAccessBean abCalculationAdjustment)
This method sets the
com.ibm.commerce.order.objects.CalculationAdjustmentAccessBean . |
void |
setCalculationAdjustmentId(java.lang.Long newCalculationAdjustmentId)
This method sets the calculation adjustment id of calculation adjustment.
|
void |
setCalculationUsageId(java.lang.Integer newCalculationUsageId)
This method sets the calculation usage id of calculation adjustment.
|
void |
setField1(java.lang.Integer newFild1)
This method sets the field1 of calculation adjustment.
|
void |
setField2(java.lang.String newFild2)
This method sets the field2 of calculation adjustment.
|
void |
setOrderId(java.lang.Long newOrderId)
This method sets the order Id of calculation adjustment.
|
void |
setParameterAmount(java.math.BigDecimal newParameterAmount)
This method sets the parameterAmount of calculation adjustment.
|
void |
setParameterType(java.lang.Integer newParameterType)
This method sets the parameterType of calculation adjustment.
|
void |
setServiceRepresentativeId(java.lang.Long newServiceRepresentativeId)
This method sets the service representative id of calculation adjustment.
|
void |
setShippingModeId(java.lang.Integer newShippingModeId)
This method sets the shipping mode id of calculation adjustment.
|
XMLRecordable |
toFields(org.w3c.dom.Node xmlNode)
This methods transforms an XML node into a real Object's fields
|
XMLRecordable |
toObject(org.w3c.dom.Node xmlNode)
This method transforms an XML node into a real Object.
|
java.lang.String |
toXML()
This methods converts this object into an XML format representation.
|
public static final java.lang.String COPYRIGHT
public XMLRecordable toObject(org.w3c.dom.Node xmlNode)
toObject
in interface XMLRecordable
xmlNode
- the XML
string to be converted to an object.XML
string represents.XMLRecordable.toObject(org.w3c.dom.Node)
public java.lang.String toXML()
toXML
in interface XMLRecordable
XML
string represents this object.XMLRecordable.toXML()
public java.lang.String fieldsToXML()
fieldsToXML
in interface XMLRecordable
XML
string just represents this objects's fields.XMLRecordable.fieldsToXML()
public java.lang.Long getCalculationAdjustmentId()
public java.lang.Integer getCalculationUsageId()
public java.lang.Integer getField1()
public java.lang.String getField2()
public java.lang.Long getOrderId()
public java.math.BigDecimal getParameterAmount()
public java.lang.Integer getParameterType()
public java.lang.Long getServiceRepresentativeId()
public java.lang.Integer getShippingModeId()
public void setCalculationAdjustmentId(java.lang.Long newCalculationAdjustmentId)
newCalculationAdjustmentId
- the calculation adjustment id of calculation adjustment.public void setCalculationUsageId(java.lang.Integer newCalculationUsageId)
newCalculationUsageId
- the calculation usage id of calculation adjustment.public void setField1(java.lang.Integer newFild1)
newFild1
- the field1 of calculation adjustment.public void setField2(java.lang.String newFild2)
newFild2
- the field2 of calculation adjustment.public void setOrderId(java.lang.Long newOrderId)
newOrderId
- the order Id of calculation adjustment.public void setParameterAmount(java.math.BigDecimal newParameterAmount)
newParameterAmount
- the parameterAmount of calculation adjustment.public void setParameterType(java.lang.Integer newParameterType)
newParameterType
- the parameterType of calculation adjustment.public void setServiceRepresentativeId(java.lang.Long newServiceRepresentativeId)
newServiceRepresentativeId
- the service representative id of calculation adjustment.public void setShippingModeId(java.lang.Integer newShippingModeId)
newShippingModeId
- the shipping mode id of calculation adjustment.public java.math.BigDecimal getBaseCost()
public void setBaseCost(java.math.BigDecimal newBaseCost)
newBaseCost
- base cost of the calculation adjustment.public XMLRecordable toFields(org.w3c.dom.Node xmlNode)
toFields
in interface XMLRecordable
xmlNode
- the XML
node contains the fields to be converted.XML
node passed in.XMLRecordable.toFields(org.w3c.dom.Node)
public void setCalculationAdjustment(CalculationAdjustmentAccessBean abCalculationAdjustment) throws ECException
com.ibm.commerce.order.objects.CalculationAdjustmentAccessBean
.abCalculationAdjustment
- the CalculationAdjustmentAccessBeanECException
public void refresh() throws ECException
com.ibm.commerce.order.objects.CalculationAdjustmentAccessBean
.ECException