|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CouponIf
The Coupon class contains information about the coupon which can be used to activate promotions on an order.
| Method Summary | |
|---|---|
java.lang.String |
getCouponCode()
The code of the coupon is the string used by a customer to activate it. |
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
java.lang.String |
getCustom4()
|
java.lang.String |
getCustom5()
|
java.util.Calendar |
getDateAdded()
|
java.lang.String |
getDescription()
|
int |
getId()
|
java.util.Calendar |
getLastModified()
|
int |
getMaxUse()
The maximum number of times that a coupon may be used. |
java.lang.String |
getName()
|
int |
getTimesUsed()
The number of times that a coupon has been used. |
void |
setCouponCode(java.lang.String couponCode)
The code of the coupon is the string used by a customer to activate it. |
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setCustom3(java.lang.String custom3)
|
void |
setCustom4(java.lang.String custom4)
|
void |
setCustom5(java.lang.String custom5)
|
void |
setDateAdded(java.util.Calendar dateAdded)
|
void |
setDescription(java.lang.String description)
|
void |
setId(int id)
|
void |
setLastModified(java.util.Calendar lastModified)
|
void |
setMaxUse(int maxUse)
The maximum number of times that a coupon may be used. |
void |
setName(java.lang.String name)
|
void |
setTimesUsed(int timesUsed)
The number of times that a coupon has been used. |
| Method Detail |
|---|
java.lang.String getCouponCode()
void setCouponCode(java.lang.String couponCode)
couponCode - The couponCode to set.java.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1 - The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2 - The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3 - The custom3 to set.java.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4 - The custom4 to set.java.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5 - The custom5 to set.java.lang.String getDescription()
void setDescription(java.lang.String description)
description - The description to set.int getId()
void setId(int id)
id - The id to set.int getMaxUse()
void setMaxUse(int maxUse)
maxUse - The maxUse to set.java.lang.String getName()
void setName(java.lang.String name)
name - The name to set.int getTimesUsed()
void setTimesUsed(int timesUsed)
timesUsed - The timesUsed to set.java.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded - The dateAdded to set.java.util.Calendar getLastModified()
void setLastModified(java.util.Calendar lastModified)
lastModified - The lastModified to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||