@Entity public class OfferCodeImpl extends Object implements OfferCode
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected Integer |
maxUses |
protected Offer |
offer |
protected String |
offerCode |
protected Date |
offerCodeEndDate |
protected Date |
offerCodeStartDate |
protected List<Order> |
orders |
static long |
serialVersionUID |
protected int |
uses
Deprecated.
|
| Constructor and Description |
|---|
OfferCodeImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getEndDate() |
Long |
getId() |
int |
getMaxUses() |
Offer |
getOffer() |
String |
getOfferCode() |
List<Order> |
getOrders() |
Date |
getStartDate() |
int |
getUses()
Deprecated.
|
int |
hashCode() |
void |
setEndDate(Date endDate) |
void |
setId(Long id) |
void |
setMaxUses(int maxUses) |
void |
setOffer(Offer offer) |
void |
setOfferCode(String offerCode) |
void |
setOrders(List<Order> orders) |
void |
setStartDate(Date startDate) |
void |
setUses(int uses)
Deprecated.
|
public static final long serialVersionUID
protected Long id
protected Offer offer
protected String offerCode
protected Date offerCodeStartDate
protected Date offerCodeEndDate
protected Integer maxUses
@Deprecated protected int uses
public String getOfferCode()
getOfferCode in interface OfferCodepublic void setOfferCode(String offerCode)
setOfferCode in interface OfferCodepublic int getMaxUses()
getMaxUses in interface OfferCodepublic void setMaxUses(int maxUses)
setMaxUses in interface OfferCode@Deprecated public int getUses()
@Deprecated public void setUses(int uses)
public Date getStartDate()
getStartDate in interface OfferCodepublic void setStartDate(Date startDate)
setStartDate in interface OfferCodepublic Date getEndDate()
getEndDate in interface OfferCodepublic void setEndDate(Date endDate)
setEndDate in interface OfferCodeCopyright © 2017. All Rights Reserved.