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