com.dotmarketing.portlets.discountcode.model
Class DiscountCode
java.lang.Object
com.dotmarketing.beans.Inode
com.dotmarketing.portlets.discountcode.model.DiscountCode
- All Implemented Interfaces:
- java.io.Serializable
public class DiscountCode
- extends Inode
- See Also:
- Serialized Form
| Fields inherited from class com.dotmarketing.beans.Inode |
inode |
|
Constructor Summary |
DiscountCode()
|
DiscountCode(int discountType,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String codeId,
java.lang.String codeDescription,
boolean freeShipping,
boolean noBulkDisc,
int discountAmount,
int minOrder)
|
| Methods inherited from class com.dotmarketing.beans.Inode |
addChild, addChild, addParent, addParent, deleteChild, deleteChild, deleteParent, deleteParent, getiDate, getIDate, getIdentifier, getInode, getMap, getOwner, getType, hasChildren, hasParents, isNew, setiDate, setIDate, setIDate, setIdentifier, setInode, setInode, setOwner, setOwner, setParents, setType |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
percentageDiscountType
public static final int percentageDiscountType
- See Also:
- Constant Field Values
amountDiscountType
public static final int amountDiscountType
- See Also:
- Constant Field Values
DiscountCode
public DiscountCode(int discountType,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String codeId,
java.lang.String codeDescription,
boolean freeShipping,
boolean noBulkDisc,
int discountAmount,
int minOrder)
DiscountCode
public DiscountCode()
getDiscountType
public int getDiscountType()
setDiscountType
public void setDiscountType(int discountType)
getStartDate
public java.util.Date getStartDate()
setStartDate
public void setStartDate(java.util.Date startDate)
getEndDate
public java.util.Date getEndDate()
setEndDate
public void setEndDate(java.util.Date endDate)
getCodeId
public java.lang.String getCodeId()
setCodeId
public void setCodeId(java.lang.String codeId)
getCodeDescription
public java.lang.String getCodeDescription()
setCodeDescription
public void setCodeDescription(java.lang.String codeDescription)
getFreeShipping
public boolean getFreeShipping()
setFreeShipping
public void setFreeShipping(boolean freeShipping)
getNoBulkDisc
public boolean getNoBulkDisc()
setNoBulkDisc
public void setNoBulkDisc(boolean noBulkDisc)
getDiscountAmount
public float getDiscountAmount()
setDiscountAmount
public void setDiscountAmount(float discountAmount)
getMinOrder
public int getMinOrder()
setMinOrder
public void setMinOrder(int minOrder)
getProductFormatApplicable
public java.util.List<ProductFormat> getProductFormatApplicable()
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class Inode
Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.