org.broadleafcommerce.offer.domain
Interface Offer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
OfferImpl

public interface Offer
extends java.io.Serializable


Method Summary
 java.lang.String getAppliesToCustomerRules()
           
 java.lang.String getAppliesToOrderRules()
           
 boolean getApplyDiscountToSalePrice()
           
 OfferDeliveryType getDeliveryType()
           
 java.lang.String getDescription()
           
 OfferDiscountType getDiscountType()
           
 java.util.Date getEndDate()
           
 java.lang.Long getId()
           
 int getMaxUses()
           
 java.lang.String getName()
           
 int getPriority()
           
 java.util.Date getStartDate()
           
 java.lang.String getTargetSystem()
           
 OfferType getType()
           
 int getUses()
           
 Money getValue()
           
 boolean isApplyDiscountToMarkedItems()
           
 boolean isCombinableWithOtherOffers()
           
 boolean isStackable()
           
 void setAppliesToCustomerRules(java.lang.String appliesToCustomerRules)
           
 void setAppliesToOrderRules(java.lang.String appliesToRules)
           
 void setApplyDiscountToMarkedItems(boolean applyDiscountToMarkedItems)
           
 void setApplyDiscountToSalePrice(boolean applyToSalePrice)
           
 void setCombinableWithOtherOffers(boolean combinableWithOtherOffers)
           
 void setDeliveryType(OfferDeliveryType deliveryType)
           
 void setDescription(java.lang.String description)
           
 void setDiscountType(OfferDiscountType type)
           
 void setEndDate(java.util.Date endDate)
           
 void setId(java.lang.Long id)
           
 void setMaxUses(int maxUses)
           
 void setName(java.lang.String name)
           
 void setPriority(int priority)
           
 void setStackable(boolean stackable)
           
 void setStartDate(java.util.Date startDate)
           
 void setTargetSystem(java.lang.String targetSystem)
           
 void setType(OfferType offerType)
           
 void setUses(int uses)
           
 void setValue(Money value)
           
 

Method Detail

setId

void setId(java.lang.Long id)

getId

java.lang.Long getId()

getName

java.lang.String getName()

setName

void setName(java.lang.String name)

getDescription

java.lang.String getDescription()

setDescription

void setDescription(java.lang.String description)

getType

OfferType getType()

setType

void setType(OfferType offerType)

getDiscountType

OfferDiscountType getDiscountType()

setDiscountType

void setDiscountType(OfferDiscountType type)

getValue

Money getValue()

setValue

void setValue(Money value)

getPriority

int getPriority()

setPriority

void setPriority(int priority)

getStartDate

java.util.Date getStartDate()

setStartDate

void setStartDate(java.util.Date startDate)

getEndDate

java.util.Date getEndDate()

setEndDate

void setEndDate(java.util.Date endDate)

isStackable

boolean isStackable()

setStackable

void setStackable(boolean stackable)

getTargetSystem

java.lang.String getTargetSystem()

setTargetSystem

void setTargetSystem(java.lang.String targetSystem)

getApplyDiscountToSalePrice

boolean getApplyDiscountToSalePrice()

setApplyDiscountToSalePrice

void setApplyDiscountToSalePrice(boolean applyToSalePrice)

getAppliesToOrderRules

java.lang.String getAppliesToOrderRules()

setAppliesToOrderRules

void setAppliesToOrderRules(java.lang.String appliesToRules)

getAppliesToCustomerRules

java.lang.String getAppliesToCustomerRules()

setAppliesToCustomerRules

void setAppliesToCustomerRules(java.lang.String appliesToCustomerRules)

isApplyDiscountToMarkedItems

boolean isApplyDiscountToMarkedItems()

setApplyDiscountToMarkedItems

void setApplyDiscountToMarkedItems(boolean applyDiscountToMarkedItems)

isCombinableWithOtherOffers

boolean isCombinableWithOtherOffers()

setCombinableWithOtherOffers

void setCombinableWithOtherOffers(boolean combinableWithOtherOffers)

getDeliveryType

OfferDeliveryType getDeliveryType()

setDeliveryType

void setDeliveryType(OfferDeliveryType deliveryType)

getMaxUses

int getMaxUses()

setMaxUses

void setMaxUses(int maxUses)

getUses

int getUses()

setUses

void setUses(int uses)


Copyright © 2010. All Rights Reserved.