com.ibm.commerce.couponredemption.objects
Class OrderCouponMapBean

com.ibm.commerce.couponredemption.objects.OrderCouponMapBean
All Implemented Interfaces:
java.io.Serializable

public class OrderCouponMapBean
implements java.io.Serializable

This bean provides access to the ORCPMAP table.

The following is a description of this table:

This table stores information about the eCoupons that were used with the given (completed) Order.

See Also:
Serialized Form

Constructor Summary
OrderCouponMapBean()
           
 
Method Summary
 java.lang.Long getBcId()
          This method provides access to the ORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderId()
          This method provides access to the ORCPMAP.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setBcId(java.lang.Long couponId)
          This method provides access to the ORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
 void setOrderId(java.lang.Long orderId)
          This method provides access to the ORCPMAP.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 

Constructor Detail

OrderCouponMapBean

public OrderCouponMapBean()
Method Detail

getBcId

public java.lang.Long getBcId()

This method provides access to the ORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key. Foreign key to the CPWALLET table.

Returns:
The coupon Id.

getOrderId

public java.lang.Long getOrderId()

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

The following is a description of this column:

Primary key. Foreign key to the ORDERS table.

Returns:
The order Id.

setBcId

public void setBcId(java.lang.Long couponId)

This method provides access to the ORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key. Foreign key to the CPWALLET table.

Parameters:
couponId - The coupon Id.

setOrderId

public void setOrderId(java.lang.Long orderId)

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

The following is a description of this column:

Primary key. Foreign key to the ORDERS table.

Parameters:
orderId - The order Id.