com.ibm.commerce.order.objects
Class OfferPriceBean

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

public class OfferPriceBean
implements java.io.Serializable

This bean provides access to the OFFERPRICE table.

The following is a description of this table:

Each row of this table represents a price in a currency for an Offer.

See Also:
Serialized Form

Constructor Summary
OfferPriceBean()
           
 
Method Summary
 java.math.BigDecimal getComparePrice()
          This method provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getCurrency()
          This method provides access to the OFFERPRICE.CURRENCY column of DB2 type CHAR(3) NOT NULL.
 java.lang.Long getOfferId()
          This method provides access to the OFFERPRICE.OFFER_ID column of DB2 type BIGINT NOT NULL.
 java.math.BigDecimal getPrice()
          This method provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20,5) NULL.
 void setComparePrice(java.math.BigDecimal aComparePrice)
          This method provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20,5) NULL.
 void setPrice(java.math.BigDecimal aPrice)
          This method provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20,5) NULL.
 

Constructor Detail

OfferPriceBean

public OfferPriceBean()
Method Detail

getComparePrice

public java.math.BigDecimal getComparePrice()

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

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.math.BigDecimal

getCurrency

public java.lang.String getCurrency()

This method provides access to the OFFERPRICE.CURRENCY column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

The currency of the price. This is a currency code as per ISO 4217 standards.

Returns:
java.lang.String

getOfferId

public java.lang.Long getOfferId()

This method provides access to the OFFERPRICE.OFFER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Offer.

Returns:
java.lang.Long

getPrice

public java.math.BigDecimal getPrice()

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

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.math.BigDecimal

setComparePrice

public void setComparePrice(java.math.BigDecimal aComparePrice)

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

The following is a description of this column:

Reserved for IBM internal use.

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

setPrice

public void setPrice(java.math.BigDecimal aPrice)

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

The following is a description of this column:

Reserved for IBM internal use.

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