001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.shopping.model;
016    
017    import com.liferay.portal.model.BaseModel;
018    import com.liferay.portal.service.ServiceContext;
019    
020    import com.liferay.portlet.expando.model.ExpandoBridge;
021    
022    import java.io.Serializable;
023    
024    /**
025     * <p>
026     * This interface is a model that represents the ShoppingItemPrice table in the
027     * database.
028     * </p>
029     *
030     * @author    Brian Wing Shun Chan
031     * @see       ShoppingItemPrice
032     * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemPriceImpl
033     * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemPriceModelImpl
034     * @generated
035     */
036    public interface ShoppingItemPriceModel extends BaseModel<ShoppingItemPrice> {
037            public long getPrimaryKey();
038    
039            public void setPrimaryKey(long pk);
040    
041            public long getItemPriceId();
042    
043            public void setItemPriceId(long itemPriceId);
044    
045            public long getItemId();
046    
047            public void setItemId(long itemId);
048    
049            public int getMinQuantity();
050    
051            public void setMinQuantity(int minQuantity);
052    
053            public int getMaxQuantity();
054    
055            public void setMaxQuantity(int maxQuantity);
056    
057            public double getPrice();
058    
059            public void setPrice(double price);
060    
061            public double getDiscount();
062    
063            public void setDiscount(double discount);
064    
065            public boolean getTaxable();
066    
067            public boolean isTaxable();
068    
069            public void setTaxable(boolean taxable);
070    
071            public double getShipping();
072    
073            public void setShipping(double shipping);
074    
075            public boolean getUseShippingFormula();
076    
077            public boolean isUseShippingFormula();
078    
079            public void setUseShippingFormula(boolean useShippingFormula);
080    
081            public int getStatus();
082    
083            public void setStatus(int status);
084    
085            public ShoppingItemPrice toEscapedModel();
086    
087            public boolean isNew();
088    
089            public void setNew(boolean n);
090    
091            public boolean isCachedModel();
092    
093            public void setCachedModel(boolean cachedModel);
094    
095            public boolean isEscapedModel();
096    
097            public void setEscapedModel(boolean escapedModel);
098    
099            public Serializable getPrimaryKeyObj();
100    
101            public ExpandoBridge getExpandoBridge();
102    
103            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
104    
105            public Object clone();
106    
107            public int compareTo(ShoppingItemPrice shoppingItemPrice);
108    
109            public int hashCode();
110    
111            public String toString();
112    
113            public String toXmlString();
114    }