1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portlet.shopping.model;
16  
17  import com.liferay.portal.model.BaseModel;
18  
19  import java.io.Serializable;
20  
21  /**
22   * <a href="ShoppingItemPriceModel.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * <p>
30   * This interface is a model that represents the ShoppingItemPrice table in the
31   * database.
32   * </p>
33   *
34   * @author    Brian Wing Shun Chan
35   * @see       ShoppingItemPrice
36   * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemPriceImpl
37   * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemPriceModelImpl
38   * @generated
39   */
40  public interface ShoppingItemPriceModel extends BaseModel<ShoppingItemPrice> {
41      public long getPrimaryKey();
42  
43      public void setPrimaryKey(long pk);
44  
45      public long getItemPriceId();
46  
47      public void setItemPriceId(long itemPriceId);
48  
49      public long getItemId();
50  
51      public void setItemId(long itemId);
52  
53      public int getMinQuantity();
54  
55      public void setMinQuantity(int minQuantity);
56  
57      public int getMaxQuantity();
58  
59      public void setMaxQuantity(int maxQuantity);
60  
61      public double getPrice();
62  
63      public void setPrice(double price);
64  
65      public double getDiscount();
66  
67      public void setDiscount(double discount);
68  
69      public boolean getTaxable();
70  
71      public boolean isTaxable();
72  
73      public void setTaxable(boolean taxable);
74  
75      public double getShipping();
76  
77      public void setShipping(double shipping);
78  
79      public boolean getUseShippingFormula();
80  
81      public boolean isUseShippingFormula();
82  
83      public void setUseShippingFormula(boolean useShippingFormula);
84  
85      public int getStatus();
86  
87      public void setStatus(int status);
88  
89      public ShoppingItemPrice toEscapedModel();
90  
91      public boolean isNew();
92  
93      public boolean setNew(boolean n);
94  
95      public boolean isCachedModel();
96  
97      public void setCachedModel(boolean cachedModel);
98  
99      public boolean isEscapedModel();
100 
101     public void setEscapedModel(boolean escapedModel);
102 
103     public Serializable getPrimaryKeyObj();
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 }