com.ibm.commerce.taxation.objects
Class OrderItemTaxBean

com.ibm.commerce.taxation.objects.OrderItemTaxBean
All Implemented Interfaces:
java.io.Serializable

public class OrderItemTaxBean
implements java.io.Serializable

This bean provides access to the ORDITAX table.

The following is a description of this table:

Each row of this table contains a tax amount of a particular TaxCategory, for an OrderItem. By default, WebSphere Commerce does not save any data in this table. However tax amounts are aggregated by TaxCategory in the SUBORDTAX and ORDTAX tables.

See Also:
Serialized Form

Constructor Summary
OrderItemTaxBean()
           
 
Method Summary
 java.lang.Long getOrderItemsId()
          This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
 java.math.BigDecimal getTaxAmount()
          This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.lang.Integer getTaxCategoryId()
          This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 void setOrderItemsId(java.lang.Long aOrderItemsId)
          This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
 void setTaxAmount(java.math.BigDecimal aTaxAmount)
          This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setTaxCategoryId(java.lang.Integer aTaxCategoryId)
          This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

OrderItemTaxBean

public OrderItemTaxBean()
Method Detail

getOrderItemsId

public java.lang.Long getOrderItemsId()

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

The following is a description of this column:

The OrderItem.

Returns:
java.lang.Long

getTaxAmount

public java.math.BigDecimal getTaxAmount()

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

The following is a description of this column:

The tax amount, in the currency of the OrderItem (ORDERITEMS.CURRENCY).

Returns:
java.math.BigDecimal

getTaxCategoryId

public java.lang.Integer getTaxCategoryId()

This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The TaxCategory.

Returns:
java.lang.Integer

setOrderItemsId

public void setOrderItemsId(java.lang.Long aOrderItemsId)

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

The following is a description of this column:

The OrderItem.

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

setTaxAmount

public void setTaxAmount(java.math.BigDecimal aTaxAmount)

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

The following is a description of this column:

The tax amount, in the currency of the OrderItem (ORDERITEMS.CURRENCY).

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

setTaxCategoryId

public void setTaxCategoryId(java.lang.Integer aTaxCategoryId)

This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The TaxCategory.

Parameters:
aTaxCategoryId - java.lang.Integer
Returns:
void