com.ibm.commerce.taxation.objects
Class SubOrderTaxBean

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

public class SubOrderTaxBean
implements java.io.Serializable

This bean provides access to the SUBORDTAX table.

The following is a description of this table:

Each row of this table specifies the tax amount of a particular TaxCategory for all the OrderItems with the same shipping address as the SubOrder.

See Also:
Serialized Form

Constructor Summary
SubOrderTaxBean()
           
 
Method Summary
 java.lang.Long getSubOrderId()
          This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
 java.math.BigDecimal getTaxAmount()
          This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.lang.Integer getTaxCategoryId()
          This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 void setSubOrderId(java.lang.Long aSubOrderId)
          This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
 void setTaxAmount(java.math.BigDecimal aTaxAmount)
          This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setTaxCategoryId(java.lang.Integer aTaxCategoryId)
          This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

SubOrderTaxBean

public SubOrderTaxBean()
Method Detail

getSubOrderId

public java.lang.Long getSubOrderId()

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

The following is a description of this column:

The SubOrder.

Returns:
java.lang.Long

getTaxAmount

public java.math.BigDecimal getTaxAmount()

This method provides access to the SUBORDTAX.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 SubOrder (see SUBORDERS.CURRENCY for details).

Returns:
java.math.BigDecimal

getTaxCategoryId

public java.lang.Integer getTaxCategoryId()

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

The following is a description of this column:

The TaxCategory.

Returns:
java.lang.Integer

setSubOrderId

public void setSubOrderId(java.lang.Long aSubOrderId)

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

The following is a description of this column:

The SubOrder.

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

setTaxAmount

public void setTaxAmount(java.math.BigDecimal aTaxAmount)

This method provides access to the SUBORDTAX.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 SubOrder (see SUBORDERS.CURRENCY for details).

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

setTaxCategoryId

public void setTaxCategoryId(java.lang.Integer aTaxCategoryId)

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