1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions 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 <code>ShoppingOrder</code>
40   * table in the database.
41   * </p>
42   *
43   * @author Brian Wing Shun Chan
44   *
45   * @see com.liferay.portlet.shopping.model.ShoppingOrder
46   * @see com.liferay.portlet.shopping.model.impl.ShoppingOrderImpl
47   * @see com.liferay.portlet.shopping.model.impl.ShoppingOrderModelImpl
48   *
49   */
50  public interface ShoppingOrderModel extends BaseModel<ShoppingOrder> {
51      public long getPrimaryKey();
52  
53      public void setPrimaryKey(long pk);
54  
55      public long getOrderId();
56  
57      public void setOrderId(long orderId);
58  
59      public long getGroupId();
60  
61      public void setGroupId(long groupId);
62  
63      public long getCompanyId();
64  
65      public void setCompanyId(long companyId);
66  
67      public long getUserId();
68  
69      public void setUserId(long userId);
70  
71      public String getUserUuid() throws SystemException;
72  
73      public void setUserUuid(String userUuid);
74  
75      public String getUserName();
76  
77      public void setUserName(String userName);
78  
79      public Date getCreateDate();
80  
81      public void setCreateDate(Date createDate);
82  
83      public Date getModifiedDate();
84  
85      public void setModifiedDate(Date modifiedDate);
86  
87      public String getNumber();
88  
89      public void setNumber(String number);
90  
91      public double getTax();
92  
93      public void setTax(double tax);
94  
95      public double getShipping();
96  
97      public void setShipping(double shipping);
98  
99      public String getAltShipping();
100 
101     public void setAltShipping(String altShipping);
102 
103     public boolean getRequiresShipping();
104 
105     public boolean isRequiresShipping();
106 
107     public void setRequiresShipping(boolean requiresShipping);
108 
109     public boolean getInsure();
110 
111     public boolean isInsure();
112 
113     public void setInsure(boolean insure);
114 
115     public double getInsurance();
116 
117     public void setInsurance(double insurance);
118 
119     public String getCouponCodes();
120 
121     public void setCouponCodes(String couponCodes);
122 
123     public double getCouponDiscount();
124 
125     public void setCouponDiscount(double couponDiscount);
126 
127     public String getBillingFirstName();
128 
129     public void setBillingFirstName(String billingFirstName);
130 
131     public String getBillingLastName();
132 
133     public void setBillingLastName(String billingLastName);
134 
135     public String getBillingEmailAddress();
136 
137     public void setBillingEmailAddress(String billingEmailAddress);
138 
139     public String getBillingCompany();
140 
141     public void setBillingCompany(String billingCompany);
142 
143     public String getBillingStreet();
144 
145     public void setBillingStreet(String billingStreet);
146 
147     public String getBillingCity();
148 
149     public void setBillingCity(String billingCity);
150 
151     public String getBillingState();
152 
153     public void setBillingState(String billingState);
154 
155     public String getBillingZip();
156 
157     public void setBillingZip(String billingZip);
158 
159     public String getBillingCountry();
160 
161     public void setBillingCountry(String billingCountry);
162 
163     public String getBillingPhone();
164 
165     public void setBillingPhone(String billingPhone);
166 
167     public boolean getShipToBilling();
168 
169     public boolean isShipToBilling();
170 
171     public void setShipToBilling(boolean shipToBilling);
172 
173     public String getShippingFirstName();
174 
175     public void setShippingFirstName(String shippingFirstName);
176 
177     public String getShippingLastName();
178 
179     public void setShippingLastName(String shippingLastName);
180 
181     public String getShippingEmailAddress();
182 
183     public void setShippingEmailAddress(String shippingEmailAddress);
184 
185     public String getShippingCompany();
186 
187     public void setShippingCompany(String shippingCompany);
188 
189     public String getShippingStreet();
190 
191     public void setShippingStreet(String shippingStreet);
192 
193     public String getShippingCity();
194 
195     public void setShippingCity(String shippingCity);
196 
197     public String getShippingState();
198 
199     public void setShippingState(String shippingState);
200 
201     public String getShippingZip();
202 
203     public void setShippingZip(String shippingZip);
204 
205     public String getShippingCountry();
206 
207     public void setShippingCountry(String shippingCountry);
208 
209     public String getShippingPhone();
210 
211     public void setShippingPhone(String shippingPhone);
212 
213     public String getCcName();
214 
215     public void setCcName(String ccName);
216 
217     public String getCcType();
218 
219     public void setCcType(String ccType);
220 
221     public String getCcNumber();
222 
223     public void setCcNumber(String ccNumber);
224 
225     public int getCcExpMonth();
226 
227     public void setCcExpMonth(int ccExpMonth);
228 
229     public int getCcExpYear();
230 
231     public void setCcExpYear(int ccExpYear);
232 
233     public String getCcVerNumber();
234 
235     public void setCcVerNumber(String ccVerNumber);
236 
237     public String getComments();
238 
239     public void setComments(String comments);
240 
241     public String getPpTxnId();
242 
243     public void setPpTxnId(String ppTxnId);
244 
245     public String getPpPaymentStatus();
246 
247     public void setPpPaymentStatus(String ppPaymentStatus);
248 
249     public double getPpPaymentGross();
250 
251     public void setPpPaymentGross(double ppPaymentGross);
252 
253     public String getPpReceiverEmail();
254 
255     public void setPpReceiverEmail(String ppReceiverEmail);
256 
257     public String getPpPayerEmail();
258 
259     public void setPpPayerEmail(String ppPayerEmail);
260 
261     public boolean getSendOrderEmail();
262 
263     public boolean isSendOrderEmail();
264 
265     public void setSendOrderEmail(boolean sendOrderEmail);
266 
267     public boolean getSendShippingEmail();
268 
269     public boolean isSendShippingEmail();
270 
271     public void setSendShippingEmail(boolean sendShippingEmail);
272 
273     public ShoppingOrder toEscapedModel();
274 }