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.model.BaseModel;
26  
27  import java.util.Date;
28  
29  /**
30   * <a href="ShoppingOrderModel.java.html"><b><i>View Source</i></b></a>
31   *
32   * <p>
33   * ServiceBuilder generated this class. Modifications in this class will be
34   * overwritten the next time is generated.
35   * </p>
36   *
37   * <p>
38   * This interface is a model that represents the <code>ShoppingOrder</code>
39   * table in the database.
40   * </p>
41   *
42   * @author Brian Wing Shun Chan
43   *
44   * @see com.liferay.portlet.shopping.model.ShoppingOrder
45   * @see com.liferay.portlet.shopping.model.impl.ShoppingOrderImpl
46   * @see com.liferay.portlet.shopping.model.impl.ShoppingOrderModelImpl
47   *
48   */
49  public interface ShoppingOrderModel extends BaseModel {
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 getUserName();
71  
72      public void setUserName(String userName);
73  
74      public Date getCreateDate();
75  
76      public void setCreateDate(Date createDate);
77  
78      public Date getModifiedDate();
79  
80      public void setModifiedDate(Date modifiedDate);
81  
82      public String getNumber();
83  
84      public void setNumber(String number);
85  
86      public double getTax();
87  
88      public void setTax(double tax);
89  
90      public double getShipping();
91  
92      public void setShipping(double shipping);
93  
94      public String getAltShipping();
95  
96      public void setAltShipping(String altShipping);
97  
98      public boolean getRequiresShipping();
99  
100     public boolean isRequiresShipping();
101 
102     public void setRequiresShipping(boolean requiresShipping);
103 
104     public boolean getInsure();
105 
106     public boolean isInsure();
107 
108     public void setInsure(boolean insure);
109 
110     public double getInsurance();
111 
112     public void setInsurance(double insurance);
113 
114     public String getCouponCodes();
115 
116     public void setCouponCodes(String couponCodes);
117 
118     public double getCouponDiscount();
119 
120     public void setCouponDiscount(double couponDiscount);
121 
122     public String getBillingFirstName();
123 
124     public void setBillingFirstName(String billingFirstName);
125 
126     public String getBillingLastName();
127 
128     public void setBillingLastName(String billingLastName);
129 
130     public String getBillingEmailAddress();
131 
132     public void setBillingEmailAddress(String billingEmailAddress);
133 
134     public String getBillingCompany();
135 
136     public void setBillingCompany(String billingCompany);
137 
138     public String getBillingStreet();
139 
140     public void setBillingStreet(String billingStreet);
141 
142     public String getBillingCity();
143 
144     public void setBillingCity(String billingCity);
145 
146     public String getBillingState();
147 
148     public void setBillingState(String billingState);
149 
150     public String getBillingZip();
151 
152     public void setBillingZip(String billingZip);
153 
154     public String getBillingCountry();
155 
156     public void setBillingCountry(String billingCountry);
157 
158     public String getBillingPhone();
159 
160     public void setBillingPhone(String billingPhone);
161 
162     public boolean getShipToBilling();
163 
164     public boolean isShipToBilling();
165 
166     public void setShipToBilling(boolean shipToBilling);
167 
168     public String getShippingFirstName();
169 
170     public void setShippingFirstName(String shippingFirstName);
171 
172     public String getShippingLastName();
173 
174     public void setShippingLastName(String shippingLastName);
175 
176     public String getShippingEmailAddress();
177 
178     public void setShippingEmailAddress(String shippingEmailAddress);
179 
180     public String getShippingCompany();
181 
182     public void setShippingCompany(String shippingCompany);
183 
184     public String getShippingStreet();
185 
186     public void setShippingStreet(String shippingStreet);
187 
188     public String getShippingCity();
189 
190     public void setShippingCity(String shippingCity);
191 
192     public String getShippingState();
193 
194     public void setShippingState(String shippingState);
195 
196     public String getShippingZip();
197 
198     public void setShippingZip(String shippingZip);
199 
200     public String getShippingCountry();
201 
202     public void setShippingCountry(String shippingCountry);
203 
204     public String getShippingPhone();
205 
206     public void setShippingPhone(String shippingPhone);
207 
208     public String getCcName();
209 
210     public void setCcName(String ccName);
211 
212     public String getCcType();
213 
214     public void setCcType(String ccType);
215 
216     public String getCcNumber();
217 
218     public void setCcNumber(String ccNumber);
219 
220     public int getCcExpMonth();
221 
222     public void setCcExpMonth(int ccExpMonth);
223 
224     public int getCcExpYear();
225 
226     public void setCcExpYear(int ccExpYear);
227 
228     public String getCcVerNumber();
229 
230     public void setCcVerNumber(String ccVerNumber);
231 
232     public String getComments();
233 
234     public void setComments(String comments);
235 
236     public String getPpTxnId();
237 
238     public void setPpTxnId(String ppTxnId);
239 
240     public String getPpPaymentStatus();
241 
242     public void setPpPaymentStatus(String ppPaymentStatus);
243 
244     public double getPpPaymentGross();
245 
246     public void setPpPaymentGross(double ppPaymentGross);
247 
248     public String getPpReceiverEmail();
249 
250     public void setPpReceiverEmail(String ppReceiverEmail);
251 
252     public String getPpPayerEmail();
253 
254     public void setPpPayerEmail(String ppPayerEmail);
255 
256     public boolean getSendOrderEmail();
257 
258     public boolean isSendOrderEmail();
259 
260     public void setSendOrderEmail(boolean sendOrderEmail);
261 
262     public boolean getSendShippingEmail();
263 
264     public boolean isSendShippingEmail();
265 
266     public void setSendShippingEmail(boolean sendShippingEmail);
267 
268     public ShoppingOrder toEscapedModel();
269 }