|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.offer.domain.OfferImpl
@Entity public class OfferImpl
| Field Summary | |
|---|---|
protected String |
appliesToCustomerRules
Deprecated. |
protected String |
appliesToOrderRules
Deprecated. |
protected boolean |
applyDiscountToMarkedItems
Deprecated. |
protected boolean |
applyToSalePrice
|
protected boolean |
combinableWithOtherOffers
|
protected String |
deliveryType
|
protected String |
description
|
protected String |
discountType
|
protected Date |
endDate
|
protected Long |
id
|
protected int |
maxUses
|
protected String |
name
|
protected String |
offerItemQualifierRuleType
|
protected String |
offerItemTargetRuleType
|
protected int |
priority
|
protected Set<OfferItemCriteria> |
qualifyingItemCriteria
|
static long |
serialVersionUID
|
protected boolean |
stackable
|
protected Date |
startDate
|
protected OfferItemCriteria |
targetItemCriteria
|
protected String |
targetSystem
|
protected Boolean |
totalitarianOffer
|
protected Boolean |
treatAsNewFormat
|
protected String |
type
|
protected int |
uses
Deprecated. |
protected BigDecimal |
value
|
| Constructor Summary | |
|---|---|
OfferImpl()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
protected Long id
protected String name
protected String description
protected String type
protected String discountType
protected BigDecimal value
protected int priority
protected Date startDate
protected Date endDate
protected boolean stackable
protected String targetSystem
protected boolean applyToSalePrice
@Deprecated protected String appliesToOrderRules
@Deprecated protected String appliesToCustomerRules
@Deprecated protected boolean applyDiscountToMarkedItems
protected boolean combinableWithOtherOffers
protected String deliveryType
protected int maxUses
@Deprecated protected int uses
protected String offerItemQualifierRuleType
protected String offerItemTargetRuleType
protected Set<OfferItemCriteria> qualifyingItemCriteria
protected OfferItemCriteria targetItemCriteria
protected Boolean totalitarianOffer
protected Boolean treatAsNewFormat
| Constructor Detail |
|---|
public OfferImpl()
| Method Detail |
|---|
public Long getId()
getId in interface Offerpublic void setId(Long id)
setId in interface Offerpublic String getName()
getName in interface Offerpublic void setName(String name)
setName in interface Offerpublic String getDescription()
getDescription in interface Offerpublic void setDescription(String description)
setDescription in interface Offerpublic OfferType getType()
getType in interface Offerpublic void setType(OfferType type)
setType in interface Offerpublic OfferDiscountType getDiscountType()
getDiscountType in interface Offerpublic void setDiscountType(OfferDiscountType discountType)
setDiscountType in interface Offerpublic OfferItemRestrictionRuleType getOfferItemQualifierRuleType()
getOfferItemQualifierRuleType in interface Offerpublic void setOfferItemQualifierRuleType(OfferItemRestrictionRuleType restrictionRuleType)
setOfferItemQualifierRuleType in interface Offerpublic OfferItemRestrictionRuleType getOfferItemTargetRuleType()
getOfferItemTargetRuleType in interface Offerpublic void setOfferItemTargetRuleType(OfferItemRestrictionRuleType restrictionRuleType)
setOfferItemTargetRuleType in interface Offerpublic BigDecimal getValue()
getValue in interface Offerpublic void setValue(BigDecimal value)
setValue in interface Offerpublic int getPriority()
getPriority in interface Offerpublic void setPriority(int priority)
setPriority in interface Offerpublic Date getStartDate()
getStartDate in interface Offerpublic void setStartDate(Date startDate)
setStartDate in interface Offerpublic Date getEndDate()
getEndDate in interface Offerpublic void setEndDate(Date endDate)
setEndDate in interface Offerpublic boolean isStackable()
isStackable in interface Offerpublic void setStackable(boolean stackable)
setStackable in interface Offerstackable - public boolean getStackable()
public String getTargetSystem()
getTargetSystem in interface Offerpublic void setTargetSystem(String targetSystem)
setTargetSystem in interface Offerpublic boolean getApplyDiscountToSalePrice()
getApplyDiscountToSalePrice in interface Offerpublic void setApplyDiscountToSalePrice(boolean applyToSalePrice)
setApplyDiscountToSalePrice in interface Offer@Deprecated public String getAppliesToOrderRules()
getAppliesToOrderRules in interface Offer@Deprecated public void setAppliesToOrderRules(String appliesToOrderRules)
setAppliesToOrderRules in interface Offer@Deprecated public String getAppliesToCustomerRules()
getAppliesToCustomerRules in interface Offer@Deprecated public void setAppliesToCustomerRules(String appliesToCustomerRules)
setAppliesToCustomerRules in interface Offer@Deprecated public boolean isApplyDiscountToMarkedItems()
isApplyDiscountToMarkedItems in interface Offer@Deprecated public boolean getApplyDiscountToMarkedItems()
@Deprecated public void setApplyDiscountToMarkedItems(boolean applyDiscountToMarkedItems)
setApplyDiscountToMarkedItems in interface Offerpublic boolean isCombinableWithOtherOffers()
isCombinableWithOtherOffers in interface Offerpublic void setCombinableWithOtherOffers(boolean combinableWithOtherOffers)
setCombinableWithOtherOffers in interface OffercombinableWithOtherOffers - public boolean getCombinableWithOtherOffers()
public OfferDeliveryType getDeliveryType()
getDeliveryType in interface Offerpublic void setDeliveryType(OfferDeliveryType deliveryType)
setDeliveryType in interface Offerpublic int getMaxUses()
getMaxUses in interface Offerpublic void setMaxUses(int maxUses)
setMaxUses in interface Offer@Deprecated public int getUses()
getUses in interface Offer@Deprecated public void setUses(int uses)
setUses in interface Offerpublic Set<OfferItemCriteria> getQualifyingItemCriteria()
getQualifyingItemCriteria in interface Offerpublic void setQualifyingItemCriteria(Set<OfferItemCriteria> qualifyingItemCriteria)
setQualifyingItemCriteria in interface Offerpublic OfferItemCriteria getTargetItemCriteria()
getTargetItemCriteria in interface Offerpublic void setTargetItemCriteria(OfferItemCriteria targetItemCriteria)
setTargetItemCriteria in interface Offerpublic Boolean isTotalitarianOffer()
isTotalitarianOffer in interface Offerpublic void setTotalitarianOffer(Boolean totalitarianOffer)
setTotalitarianOffer in interface Offerpublic Map<String,OfferRule> getOfferMatchRules()
getOfferMatchRules in interface Offerpublic void setOfferMatchRules(Map<String,OfferRule> offerMatchRules)
setOfferMatchRules in interface Offerpublic Boolean getTreatAsNewFormat()
getTreatAsNewFormat in interface Offerpublic void setTreatAsNewFormat(Boolean treatAsNewFormat)
setTreatAsNewFormat in interface Offerpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||