com.ibm.commerce.order.objects
Class SubOrderBean

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

public class SubOrderBean
implements java.io.Serializable

This bean provides access to the SUBORDERS table.

The following is a description of this table:

Each row of this table contains subtotals of amounts for all the OrderItems of an Order with the same shipping address.

See Also:
Serialized Form

Constructor Summary
SubOrderBean()
           
 
Method Summary
 java.lang.Long getAddressId()
          This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT NULL.
 java.lang.String getCurrency()
          This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10) NULL.
 java.lang.Integer getField1()
          This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.
 java.math.BigDecimal getField2()
          This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getField3()
          This method provides access to the SUBORDERS.FIELD3 column of DB2 type VARCHAR(254) NULL.
 java.lang.Long getOrderId()
          This method provides access to the SUBORDERS.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
 java.math.BigDecimal getProductTotal()
          This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getShippingTaxTotal()
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getShippingTotal()
          This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 java.lang.Long getSuborderId()
          This method provides access to the SUBORDERS.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getTaxCountry()
          This method provides access to the SUBORDERS.COUNTRY column of DB2 type CHAR(30) NULL.
 java.math.BigDecimal getTaxTotal()
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getTotalAdjustment()
          This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
 void setAddressId(java.lang.Long aAddressId)
          This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10) NULL.
 void setField1(java.lang.Integer aField1)
          This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.
 void setField2(java.math.BigDecimal aField2)
          This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setField3(java.lang.String aField3)
          This method provides access to the SUBORDERS.FIELD3 column of DB2 type VARCHAR(254) NULL.
 void setOrderId(java.lang.Long aOrderId)
          This method provides access to the SUBORDERS.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
 void setProductTotal(java.math.BigDecimal aProductTotal)
          This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20,5) NULL.
 void setShippingTaxTotal(java.math.BigDecimal aShippingTaxTotal)
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 void setShippingTotal(java.math.BigDecimal aShippingTotal)
          This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 void setTaxCountry(java.lang.String aTaxCountry)
          This method provides access to the SUBORDERS.COUNTRY column of DB2 type CHAR(30) NULL.
 void setTaxTotal(java.math.BigDecimal aTaxTotal)
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 void setTotalAdjustment(java.math.BigDecimal aTotalAdjustment)
          This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
 

Constructor Detail

SubOrderBean

public SubOrderBean()
Method Detail

getAddressId

public java.lang.Long getAddressId()

This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The shipping address.

Returns:
java.lang.Long

getCurrency

public java.lang.String getCurrency()

This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10) NULL.

The following is a description of this column:

The currency for monetary amounts in the SubOrder. This is a currency code as per ISO 4217 standards.

Returns:
java.lang.String

getField1

public java.lang.Integer getField1()

This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.Integer

getField2

public java.math.BigDecimal getField2()

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

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal

getField3

public java.lang.String getField3()

This method provides access to the SUBORDERS.FIELD3 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getOrderId

public java.lang.Long getOrderId()

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

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long

getProductTotal

public java.math.BigDecimal getProductTotal()

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

The following is a description of this column:

The total of ORDERITEMS.TOTALPRODUCT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

Returns:
java.math.BigDecimal

getShippingTaxTotal

public java.math.BigDecimal getShippingTaxTotal()

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

The following is a description of this column:

The total of ORDERITEMS.SHIPTAXAMOUNT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

Returns:
java.math.BigDecimal

getShippingTotal

public java.math.BigDecimal getShippingTotal()

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

The following is a description of this column:

The total of ORDERITEMS.SHIPCHARGE for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

Returns:
java.math.BigDecimal

getSuborderId

public java.lang.Long getSuborderId()

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

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long

getTaxCountry

public java.lang.String getTaxCountry()

This method provides access to the SUBORDERS.COUNTRY column of DB2 type CHAR(30) NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getTaxTotal

public java.math.BigDecimal getTaxTotal()

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

The following is a description of this column:

The total of ORDERITEMS.SHIPTAXAMOUNT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

Returns:
java.math.BigDecimal

getTotalAdjustment

public java.math.BigDecimal getTotalAdjustment()

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

The following is a description of this column:

The total of ORDERITEMS.TOTALADJUSTMENT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

Returns:
java.math.BigDecimal

setAddressId

public void setAddressId(java.lang.Long aAddressId)

This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The shipping address.

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

setCurrency

public void setCurrency(java.lang.String aCurrency)

This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10) NULL.

The following is a description of this column:

The currency for monetary amounts in the SubOrder. This is a currency code as per ISO 4217 standards.

Parameters:
aCurrency - java.lang.String
Returns:
void

setField1

public void setField1(java.lang.Integer aField1)

This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

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

setField2

public void setField2(java.math.BigDecimal aField2)

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

The following is a description of this column:

Customizable.

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

setField3

public void setField3(java.lang.String aField3)

This method provides access to the SUBORDERS.FIELD3 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Parameters:
aField3 - java.lang.String
Returns:
void

setOrderId

public void setOrderId(java.lang.Long aOrderId)

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

The following is a description of this column:

Generated unique key.

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

setProductTotal

public void setProductTotal(java.math.BigDecimal aProductTotal)

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

The following is a description of this column:

The total of ORDERITEMS.TOTALPRODUCT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

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

setShippingTaxTotal

public void setShippingTaxTotal(java.math.BigDecimal aShippingTaxTotal)

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

The following is a description of this column:

The total of ORDERITEMS.SHIPTAXAMOUNT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

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

setShippingTotal

public void setShippingTotal(java.math.BigDecimal aShippingTotal)

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

The following is a description of this column:

The total of ORDERITEMS.SHIPCHARGE for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

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

setTaxCountry

public void setTaxCountry(java.lang.String aTaxCountry)

This method provides access to the SUBORDERS.COUNTRY column of DB2 type CHAR(30) NULL.

The following is a description of this column:

Customizable.

Parameters:
aTaxCountry - java.lang.String
Returns:
void

setTaxTotal

public void setTaxTotal(java.math.BigDecimal aTaxTotal)

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

The following is a description of this column:

The total of ORDERITEMS.SHIPTAXAMOUNT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

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

setTotalAdjustment

public void setTotalAdjustment(java.math.BigDecimal aTotalAdjustment)

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

The following is a description of this column:

The total of ORDERITEMS.TOTALADJUSTMENT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.

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