com.ibm.commerce.order.objects
Class OrderItemAdjustmentBean

com.ibm.commerce.order.objects.OrderItemAdjustmentBean
All Implemented Interfaces:
java.io.Serializable

public class OrderItemAdjustmentBean
implements java.io.Serializable

This bean provides access to the ORDIADJUST table.

The following is a description of this table:

Each row in this table represents an OrderItemAdjustment.

See Also:
Serialized Form

Constructor Summary
OrderItemAdjustmentBean()
           
 
Method Summary
 java.math.BigDecimal getAmount()
          This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.lang.Long getOrderAdjustmentId()
          This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderItemAdjustmentId()
          This method provides access to the ORDIADJUST.ORDIADJUST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderItemId()
          This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
 void setAmount(java.math.BigDecimal aAmount)
          This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setOrderAdjustmentId(java.lang.Long aOrderAdjustmentId)
          This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
 void setOrderItemId(java.lang.Long aOrderItemId)
          This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
 

Constructor Detail

OrderItemAdjustmentBean

public OrderItemAdjustmentBean()
Method Detail

getAmount

public java.math.BigDecimal getAmount()

This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The amount of the adjustment, in the currency of the OrderItem. A negative amount represents a discount. A positive amount represents a surcharge.

Returns:
java.math.BigDecimal

getOrderAdjustmentId

public java.lang.Long getOrderAdjustmentId()

This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderAdjustment of which this OrderItemAdjustment is a part.

Returns:
java.lang.Long

getOrderItemAdjustmentId

public java.lang.Long getOrderItemAdjustmentId()

This method provides access to the ORDIADJUST.ORDIADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long

getOrderItemId

public java.lang.Long getOrderItemId()

This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderItem to which this OrderItemAdjustment applies.

Returns:
java.lang.Long

setAmount

public void setAmount(java.math.BigDecimal aAmount)

This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The amount of the adjustment, in the currency of the OrderItem. A negative amount represents a discount. A positive amount represents a surcharge.

Parameters:
aAmount - java.math.BigDecimal
Returns:
void

setOrderAdjustmentId

public void setOrderAdjustmentId(java.lang.Long aOrderAdjustmentId)

This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderAdjustment of which this OrderItemAdjustment is a part.

Parameters:
aOrderAdjustmentId - java.lang.Long
Returns:
void

setOrderItemId

public void setOrderItemId(java.lang.Long aOrderItemId)

This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderItem to which this OrderItemAdjustment applies.

Parameters:
aOrderItemId - java.lang.Long
Returns:
void