|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.couponwallet.objects.CouponWalletBean
This bean provides access to the CPWALLET table.
The following is a description of this table:
This table contains the coupons that the user has accepted.
Constructor Summary | |
CouponWalletBean()
|
Method Summary | |
java.lang.String |
getAcceptFromType()
This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL. |
java.lang.Long |
getBcId()
This method provides access to the CPWALLET.CPWALLET_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getField1()
This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL. |
java.lang.Integer |
getNumUse()
This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getPromoId()
This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Long |
getShopperId()
This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getState()
This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL. |
java.sql.Timestamp |
getTimeAccept()
This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL. |
void |
setAcceptFromType(java.lang.String acceptanceMethod)
This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL. |
void |
setBcId(java.lang.Long couponId)
This method provides access to the CPWALLET.CPWALLET_ID column of DB2 type BIGINT NOT NULL. |
void |
setField1(java.lang.String field1)
This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL. |
void |
setNumUse(java.lang.Integer numTimesCouponUsed)
This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL. |
void |
setPromoId(java.lang.Integer couponPromotionId)
This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
void |
setShopperId(java.lang.Long shopperId)
This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setState(java.lang.String couponState)
This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL. |
void |
setTimeAccept(java.sql.Timestamp timeOfAdditionToWallet)
This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL. |
Constructor Detail |
public CouponWalletBean()
Method Detail |
public java.lang.String getAcceptFromType()
This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
Indicates from where the coupon was accepted:
B = banner advertisement.
E = e-mail.
O = offerlist.
public java.lang.Long getBcId()
This method provides access to the CPWALLET.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary Key.
public java.lang.String getField1()
This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Customizable.
public java.lang.Integer getNumUse()
This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of times this coupon has been used.
public java.lang.Integer getPromoId()
This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Promotion ID. Foreign key to CPPMN table.
public java.lang.Long getShopperId()
This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Customer ID. Foreign key to USERS table.
public java.lang.String getState()
This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
State of the coupon, where U=Usable, D=Deleted, N=Not Usable, and E=Expired.
public java.sql.Timestamp getTimeAccept()
This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time when the table entry was made.
public void setAcceptFromType(java.lang.String acceptanceMethod)
This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
Indicates from where the coupon was accepted:
B = banner advertisement.
E = e-mail.
O = offerlist.
acceptanceMethod
- The acceptance type(banner ad, e-mail, offerlist).public void setBcId(java.lang.Long couponId)
This method provides access to the CPWALLET.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary Key.
couponId
- The coupon Id.public void setField1(java.lang.String field1)
This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Customizable.
field1
- the customizable field.public void setNumUse(java.lang.Integer numTimesCouponUsed)
This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of times this coupon has been used.
numTimesCouponUsed
- The number of times the coupon has been used.public void setPromoId(java.lang.Integer couponPromotionId)
This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Promotion ID. Foreign key to CPPMN table.
couponPromotionId
- The coupon promotion Id.public void setShopperId(java.lang.Long shopperId)
This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Customer ID. Foreign key to USERS table.
shopperId
- The shopper Id.public void setState(java.lang.String couponState)
This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
State of the coupon, where U=Usable, D=Deleted, N=Not Usable, and E=Expired.
couponState
- The coupon state in the wallet.public void setTimeAccept(java.sql.Timestamp timeOfAdditionToWallet)
This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time when the table entry was made.
timeOfAdditionToWallet
- the time at which coupon was added to wallet.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |