com.ibm.commerce.couponpromotion.objects
Class PromoOrderBean

com.ibm.commerce.couponpromotion.objects.PromoOrderBean
All Implemented Interfaces:
java.io.Serializable

public class PromoOrderBean
implements java.io.Serializable

This bean provides access to the CPPMNORD table.

The following is a description of this table:

This table contains the minimum purchase amount in the shopping cart for this coupon to be applicable to.

See Also:
Serialized Form

Constructor Summary
PromoOrderBean()
           
 
Method Summary
 java.math.BigDecimal getOrderMax()
          This method provides access to the CPPMNORD.ORDERMAX column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getOrderMin()
          This method provides access to the CPPMNORD.ORDERMIN column of DB2 type DECIMAL(20,5) NOT NULL.
 java.lang.Integer getPromoId()
          This method provides access to the CPPMNORD.CPPMN_ID column of DB2 type INTEGER NOT NULL.
 void setOrderMax(java.math.BigDecimal maxOrderAmount)
          This method provides access to the CPPMNORD.ORDERMAX column of DB2 type DECIMAL(20,5) NULL.
 void setOrderMin(java.math.BigDecimal minOrderAmount)
          This method provides access to the CPPMNORD.ORDERMIN column of DB2 type DECIMAL(20,5) NOT NULL.
 void setPromoId(java.lang.Integer promotionId)
          This method provides access to the CPPMNORD.CPPMN_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

PromoOrderBean

public PromoOrderBean()
Method Detail

getOrderMax

public java.math.BigDecimal getOrderMax()

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

The following is a description of this column:

Maximum purchase amount in the shopping cart.

Returns:
The maximum order amount.(optinal)

getOrderMin

public java.math.BigDecimal getOrderMin()

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

The following is a description of this column:

Minimum purchase amount in the shopping cart.

Returns:
The minimum order amount for the coupon to be applicable.

getPromoId

public java.lang.Integer getPromoId()

This method provides access to the CPPMNORD.CPPMN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Foreign key to CPPMN table.

Returns:
The coupon promotion Id.

setOrderMax

public void setOrderMax(java.math.BigDecimal maxOrderAmount)

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

The following is a description of this column:

Maximum purchase amount in the shopping cart.

Parameters:
maxOrderAmount - The maximum order amount on which this coupon can be applied.

setOrderMin

public void setOrderMin(java.math.BigDecimal minOrderAmount)

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

The following is a description of this column:

Minimum purchase amount in the shopping cart.

Parameters:
minOrderAmount - The minimum order amount required for the coupon to be applicable.

setPromoId

public void setPromoId(java.lang.Integer promotionId)

This method provides access to the CPPMNORD.CPPMN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Foreign key to CPPMN table.

Parameters:
promotionId - The coupon promotion Id.