com.ibm.commerce.taxation.objects
Class OrderTaxBean

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

public class OrderTaxBean
implements java.io.Serializable

This bean provides access to the ORDTAX table.

The following is a description of this table:

Each row of this table represents the total of the tax amounts of a particular TaxCategory for all the OrderItems in an Order.

See Also:
Serialized Form

Constructor Summary
OrderTaxBean()
           
 
Method Summary
 java.sql.Timestamp getLastUpdate()
          This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Long getOrdersId()
          This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.math.BigDecimal getTaxAmount()
          This method provides access to the ORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.lang.Integer getTaxCategoryId()
          This method provides access to the ORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setOrdersId(java.lang.Long aOrdersId)
          This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setTaxAmount(java.math.BigDecimal aTaxAmount)
          This method provides access to the ORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setTaxCategoryId(java.lang.Integer aTaxCategoryId)
          This method provides access to the ORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

OrderTaxBean

public OrderTaxBean()
Method Detail

getLastUpdate

public java.sql.Timestamp getLastUpdate()

This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this information was most recently updated.

Returns:
java.sql.Timestamp

getOrdersId

public java.lang.Long getOrdersId()

This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order.

Returns:
java.lang.Long

getTaxAmount

public java.math.BigDecimal getTaxAmount()

This method provides access to the ORDTAX.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 Order (ORDERS.CURRENCY).

Returns:
java.math.BigDecimal

getTaxCategoryId

public java.lang.Integer getTaxCategoryId()

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

The following is a description of this column:

The TaxCategory.

Returns:
java.lang.Integer

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this information was most recently updated.

Parameters:
aLastUpdate - java.sql.Timestamp
Returns:
void

setOrdersId

public void setOrdersId(java.lang.Long aOrdersId)

This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order.

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

setTaxAmount

public void setTaxAmount(java.math.BigDecimal aTaxAmount)

This method provides access to the ORDTAX.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 Order (ORDERS.CURRENCY).

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

setTaxCategoryId

public void setTaxCategoryId(java.lang.Integer aTaxCategoryId)

This method provides access to the ORDTAX.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