1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.shopping.model;
24  
25  import com.liferay.portal.SystemException;
26  import com.liferay.portal.model.BaseModel;
27  
28  import java.util.Date;
29  
30  /**
31   * <a href="ShoppingOrderModel.java.html"><b><i>View Source</i></b></a>
32   *
33   * <p>
34   * ServiceBuilder generated this class. Modifications in this class will be
35   * overwritten the next time is generated.
36   * </p>
37   *
38   * <p>
39   * This interface is a model that represents the ShoppingOrder table in the
40   * database.
41   * </p>
42   *
43   * @author    Brian Wing Shun Chan
44   * @see       ShoppingOrder
45   * @see       com.liferay.portlet.shopping.model.impl.ShoppingOrderImpl
46   * @see       com.liferay.portlet.shopping.model.impl.ShoppingOrderModelImpl
47   * @generated
48   */
49  public interface ShoppingOrderModel extends BaseModel<ShoppingOrder> {
50      public long getPrimaryKey();
51  
52      public void setPrimaryKey(long pk);
53  
54      public long getOrderId();
55  
56      public void setOrderId(long orderId);
57  
58      public long getGroupId();
59  
60      public void setGroupId(long groupId);
61  
62      public long getCompanyId();
63  
64      public void setCompanyId(long companyId);
65  
66      public long getUserId();
67  
68      public void setUserId(long userId);
69  
70      public String getUserUuid() throws SystemException;
71  
72      public void setUserUuid(String userUuid);
73  
74      public String getUserName();
75  
76      public void setUserName(String userName);
77  
78      public Date getCreateDate();
79  
80      public void setCreateDate(Date createDate);
81  
82      public Date getModifiedDate();
83  
84      public void setModifiedDate(Date modifiedDate);
85  
86      public String getNumber();
87  
88      public void setNumber(String number);
89  
90      public double getTax();
91  
92      public void setTax(double tax);
93  
94      public double getShipping();
95  
96      public void setShipping(double shipping);
97  
98      public String getAltShipping();
99  
100     public void setAltShipping(String altShipping);
101 
102     public boolean getRequiresShipping();
103 
104     public boolean isRequiresShipping();
105 
106     public void setRequiresShipping(boolean requiresShipping);
107 
108     public boolean getInsure();
109 
110     public boolean isInsure();
111 
112     public void setInsure(boolean insure);
113 
114     public double getInsurance();
115 
116     public void setInsurance(double insurance);
117 
118     public String getCouponCodes();
119 
120     public void setCouponCodes(String couponCodes);
121 
122     public double getCouponDiscount();
123 
124     public void setCouponDiscount(double couponDiscount);
125 
126     public String getBillingFirstName();
127 
128     public void setBillingFirstName(String billingFirstName);
129 
130     public String getBillingLastName();
131 
132     public void setBillingLastName(String billingLastName);
133 
134     public String getBillingEmailAddress();
135 
136     public void setBillingEmailAddress(String billingEmailAddress);
137 
138     public String getBillingCompany();
139 
140     public void setBillingCompany(String billingCompany);
141 
142     public String getBillingStreet();
143 
144     public void setBillingStreet(String billingStreet);
145 
146     public String getBillingCity();
147 
148     public void setBillingCity(String billingCity);
149 
150     public String getBillingState();
151 
152     public void setBillingState(String billingState);
153 
154     public String getBillingZip();
155 
156     public void setBillingZip(String billingZip);
157 
158     public String getBillingCountry();
159 
160     public void setBillingCountry(String billingCountry);
161 
162     public String getBillingPhone();
163 
164     public void setBillingPhone(String billingPhone);
165 
166     public boolean getShipToBilling();
167 
168     public boolean isShipToBilling();
169 
170     public void setShipToBilling(boolean shipToBilling);
171 
172     public String getShippingFirstName();
173 
174     public void setShippingFirstName(String shippingFirstName);
175 
176     public String getShippingLastName();
177 
178     public void setShippingLastName(String shippingLastName);
179 
180     public String getShippingEmailAddress();
181 
182     public void setShippingEmailAddress(String shippingEmailAddress);
183 
184     public String getShippingCompany();
185 
186     public void setShippingCompany(String shippingCompany);
187 
188     public String getShippingStreet();
189 
190     public void setShippingStreet(String shippingStreet);
191 
192     public String getShippingCity();
193 
194     public void setShippingCity(String shippingCity);
195 
196     public String getShippingState();
197 
198     public void setShippingState(String shippingState);
199 
200     public String getShippingZip();
201 
202     public void setShippingZip(String shippingZip);
203 
204     public String getShippingCountry();
205 
206     public void setShippingCountry(String shippingCountry);
207 
208     public String getShippingPhone();
209 
210     public void setShippingPhone(String shippingPhone);
211 
212     public String getCcName();
213 
214     public void setCcName(String ccName);
215 
216     public String getCcType();
217 
218     public void setCcType(String ccType);
219 
220     public String getCcNumber();
221 
222     public void setCcNumber(String ccNumber);
223 
224     public int getCcExpMonth();
225 
226     public void setCcExpMonth(int ccExpMonth);
227 
228     public int getCcExpYear();
229 
230     public void setCcExpYear(int ccExpYear);
231 
232     public String getCcVerNumber();
233 
234     public void setCcVerNumber(String ccVerNumber);
235 
236     public String getComments();
237 
238     public void setComments(String comments);
239 
240     public String getPpTxnId();
241 
242     public void setPpTxnId(String ppTxnId);
243 
244     public String getPpPaymentStatus();
245 
246     public void setPpPaymentStatus(String ppPaymentStatus);
247 
248     public double getPpPaymentGross();
249 
250     public void setPpPaymentGross(double ppPaymentGross);
251 
252     public String getPpReceiverEmail();
253 
254     public void setPpReceiverEmail(String ppReceiverEmail);
255 
256     public String getPpPayerEmail();
257 
258     public void setPpPayerEmail(String ppPayerEmail);
259 
260     public boolean getSendOrderEmail();
261 
262     public boolean isSendOrderEmail();
263 
264     public void setSendOrderEmail(boolean sendOrderEmail);
265 
266     public boolean getSendShippingEmail();
267 
268     public boolean isSendShippingEmail();
269 
270     public void setSendShippingEmail(boolean sendShippingEmail);
271 
272     public ShoppingOrder toEscapedModel();
273 }