com.dotmarketing.portlets.product.model
Class ProductPrice

java.lang.Object
  extended by com.dotmarketing.beans.Inode
      extended by com.dotmarketing.portlets.product.model.ProductPrice
All Implemented Interfaces:
UUIDable, Permissionable, Versionable, Categorizable, java.io.Serializable, java.lang.Comparable

public class ProductPrice
extends Inode
implements java.io.Serializable

Author:
David
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.beans.Inode
inode, owner
 
Constructor Summary
ProductPrice()
           
ProductPrice(java.lang.String productFormatInode, int retailPrice, int partnerPrice)
           
ProductPrice(java.lang.String productFormatInode, int minQty, int maxQty, float retailPrice, float partnerPrice)
           
 
Method Summary
 int getMaxQty()
           
 int getMinQty()
           
 float getPartnerPrice()
           
 float getPartnerPriceWithDiscount()
           
 Product getProductFormat()
           
 java.lang.String getProductFormatInode()
           
 float getRetailPrice()
           
 float getRetailPriceWithDiscount()
           
 void setMaxQty(int maxQty)
           
 void setMinQty(int minQty)
           
 void setPartnerPrice(float partnerPrice)
           
 void setPartnerPriceWithDiscount(float partnerPriceWithDiscount)
           
 void setProductFormatInode(java.lang.String productFormatInode)
           
 void setRetailPrice(float retailPrice)
           
 void setRetailPriceWithDiscount(float retailPriceWithDiscount)
           
 
Methods inherited from class com.dotmarketing.beans.Inode
acceptedPermissions, addChild, addChild, addChild, addParent, addParent, compareTo, deleteChild, deleteChild, deleteParent, deleteParent, equals, getCategoryId, getiDate, getIDate, getIdentifier, getInode, getMap, getModDate, getModUser, getOwner, getParentPermissionable, getPermissionId, getPermissionType, getTitle, getType, getVersionId, getVersionType, hasChildren, hashCode, hasParents, isArchived, isLive, isLocked, isNew, isParentPermissionable, isWorking, permissionDependencies, setiDate, setIDate, setIDate, setIdentifier, setInode, setOwner, setParents, setType, setVersionId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductPrice

public ProductPrice(java.lang.String productFormatInode,
                    int minQty,
                    int maxQty,
                    float retailPrice,
                    float partnerPrice)

ProductPrice

public ProductPrice()

ProductPrice

public ProductPrice(java.lang.String productFormatInode,
                    int retailPrice,
                    int partnerPrice)
Method Detail

getProductFormatInode

public java.lang.String getProductFormatInode()

setProductFormatInode

public void setProductFormatInode(java.lang.String productFormatInode)

getMinQty

public int getMinQty()

setMinQty

public void setMinQty(int minQty)

getMaxQty

public int getMaxQty()

setMaxQty

public void setMaxQty(int maxQty)

getRetailPrice

public float getRetailPrice()

setRetailPrice

public void setRetailPrice(float retailPrice)

getPartnerPrice

public float getPartnerPrice()

setPartnerPrice

public void setPartnerPrice(float partnerPrice)

getProductFormat

public Product getProductFormat()

getPartnerPriceWithDiscount

public float getPartnerPriceWithDiscount()

setPartnerPriceWithDiscount

public void setPartnerPriceWithDiscount(float partnerPriceWithDiscount)

getRetailPriceWithDiscount

public float getRetailPriceWithDiscount()

setRetailPriceWithDiscount

public void setRetailPriceWithDiscount(float retailPriceWithDiscount)


Copyright © 2010 dotCMS Inc. All Rights Reserved.