com.ibm.commerce.order.objects
Class SubOrderAdjustmentBean

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

public class SubOrderAdjustmentBean
implements java.io.Serializable

This bean provides access to the SUBORDADJ table.

The following is a description of this table:

Each row of this table represents a subtotal of all the OrderItemAdjustment amounts in an OrderAdjustment whose OrderItems have the same shipping address.

See Also:
Serialized Form

Constructor Summary
SubOrderAdjustmentBean()
           
 
Method Summary
 java.lang.Long getOrderAdjustmentId()
          This method provides access to the SUBORDADJ.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getSubOrderId()
          This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
 java.math.BigDecimal getTotalAdjustment()
          This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
 void setSubOrderId(java.lang.Long aSubOrderId)
          This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
 void setTotalAdjustment(java.math.BigDecimal aTotalAdjustment)
          This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
 

Constructor Detail

SubOrderAdjustmentBean

public SubOrderAdjustmentBean()
Method Detail

getOrderAdjustmentId

public java.lang.Long getOrderAdjustmentId()

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

The following is a description of this column:

The OrderAdjustment.

Returns:
java.lang.Long

getSubOrderId

public java.lang.Long getSubOrderId()

This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The SubOrder, representing all OrderItems with a particular shipping address.

Returns:
java.lang.Long

getTotalAdjustment

public java.math.BigDecimal getTotalAdjustment()

This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The total of the OrderItemAdjustment amounts in the OrderAdjustment for all the OrderItems in the SubOrder.

Returns:
java.math.BigDecimal

setSubOrderId

public void setSubOrderId(java.lang.Long aSubOrderId)

This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The SubOrder, representing all OrderItems with a particular shipping address.

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

setTotalAdjustment

public void setTotalAdjustment(java.math.BigDecimal aTotalAdjustment)

This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The total of the OrderItemAdjustment amounts in the OrderAdjustment for all the OrderItems in the SubOrder.

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