001
014
015 package com.liferay.portlet.shopping.model;
016
017 import java.io.Serializable;
018
019 import java.util.ArrayList;
020 import java.util.Date;
021 import java.util.List;
022
023
033 public class ShoppingOrderSoap implements Serializable {
034 public static ShoppingOrderSoap toSoapModel(ShoppingOrder model) {
035 ShoppingOrderSoap soapModel = new ShoppingOrderSoap();
036
037 soapModel.setOrderId(model.getOrderId());
038 soapModel.setGroupId(model.getGroupId());
039 soapModel.setCompanyId(model.getCompanyId());
040 soapModel.setUserId(model.getUserId());
041 soapModel.setUserName(model.getUserName());
042 soapModel.setCreateDate(model.getCreateDate());
043 soapModel.setModifiedDate(model.getModifiedDate());
044 soapModel.setNumber(model.getNumber());
045 soapModel.setTax(model.getTax());
046 soapModel.setShipping(model.getShipping());
047 soapModel.setAltShipping(model.getAltShipping());
048 soapModel.setRequiresShipping(model.getRequiresShipping());
049 soapModel.setInsure(model.getInsure());
050 soapModel.setInsurance(model.getInsurance());
051 soapModel.setCouponCodes(model.getCouponCodes());
052 soapModel.setCouponDiscount(model.getCouponDiscount());
053 soapModel.setBillingFirstName(model.getBillingFirstName());
054 soapModel.setBillingLastName(model.getBillingLastName());
055 soapModel.setBillingEmailAddress(model.getBillingEmailAddress());
056 soapModel.setBillingCompany(model.getBillingCompany());
057 soapModel.setBillingStreet(model.getBillingStreet());
058 soapModel.setBillingCity(model.getBillingCity());
059 soapModel.setBillingState(model.getBillingState());
060 soapModel.setBillingZip(model.getBillingZip());
061 soapModel.setBillingCountry(model.getBillingCountry());
062 soapModel.setBillingPhone(model.getBillingPhone());
063 soapModel.setShipToBilling(model.getShipToBilling());
064 soapModel.setShippingFirstName(model.getShippingFirstName());
065 soapModel.setShippingLastName(model.getShippingLastName());
066 soapModel.setShippingEmailAddress(model.getShippingEmailAddress());
067 soapModel.setShippingCompany(model.getShippingCompany());
068 soapModel.setShippingStreet(model.getShippingStreet());
069 soapModel.setShippingCity(model.getShippingCity());
070 soapModel.setShippingState(model.getShippingState());
071 soapModel.setShippingZip(model.getShippingZip());
072 soapModel.setShippingCountry(model.getShippingCountry());
073 soapModel.setShippingPhone(model.getShippingPhone());
074 soapModel.setCcName(model.getCcName());
075 soapModel.setCcType(model.getCcType());
076 soapModel.setCcNumber(model.getCcNumber());
077 soapModel.setCcExpMonth(model.getCcExpMonth());
078 soapModel.setCcExpYear(model.getCcExpYear());
079 soapModel.setCcVerNumber(model.getCcVerNumber());
080 soapModel.setComments(model.getComments());
081 soapModel.setPpTxnId(model.getPpTxnId());
082 soapModel.setPpPaymentStatus(model.getPpPaymentStatus());
083 soapModel.setPpPaymentGross(model.getPpPaymentGross());
084 soapModel.setPpReceiverEmail(model.getPpReceiverEmail());
085 soapModel.setPpPayerEmail(model.getPpPayerEmail());
086 soapModel.setSendOrderEmail(model.getSendOrderEmail());
087 soapModel.setSendShippingEmail(model.getSendShippingEmail());
088
089 return soapModel;
090 }
091
092 public static ShoppingOrderSoap[] toSoapModels(ShoppingOrder[] models) {
093 ShoppingOrderSoap[] soapModels = new ShoppingOrderSoap[models.length];
094
095 for (int i = 0; i < models.length; i++) {
096 soapModels[i] = toSoapModel(models[i]);
097 }
098
099 return soapModels;
100 }
101
102 public static ShoppingOrderSoap[][] toSoapModels(ShoppingOrder[][] models) {
103 ShoppingOrderSoap[][] soapModels = null;
104
105 if (models.length > 0) {
106 soapModels = new ShoppingOrderSoap[models.length][models[0].length];
107 }
108 else {
109 soapModels = new ShoppingOrderSoap[0][0];
110 }
111
112 for (int i = 0; i < models.length; i++) {
113 soapModels[i] = toSoapModels(models[i]);
114 }
115
116 return soapModels;
117 }
118
119 public static ShoppingOrderSoap[] toSoapModels(List<ShoppingOrder> models) {
120 List<ShoppingOrderSoap> soapModels = new ArrayList<ShoppingOrderSoap>(models.size());
121
122 for (ShoppingOrder model : models) {
123 soapModels.add(toSoapModel(model));
124 }
125
126 return soapModels.toArray(new ShoppingOrderSoap[soapModels.size()]);
127 }
128
129 public ShoppingOrderSoap() {
130 }
131
132 public long getPrimaryKey() {
133 return _orderId;
134 }
135
136 public void setPrimaryKey(long pk) {
137 setOrderId(pk);
138 }
139
140 public long getOrderId() {
141 return _orderId;
142 }
143
144 public void setOrderId(long orderId) {
145 _orderId = orderId;
146 }
147
148 public long getGroupId() {
149 return _groupId;
150 }
151
152 public void setGroupId(long groupId) {
153 _groupId = groupId;
154 }
155
156 public long getCompanyId() {
157 return _companyId;
158 }
159
160 public void setCompanyId(long companyId) {
161 _companyId = companyId;
162 }
163
164 public long getUserId() {
165 return _userId;
166 }
167
168 public void setUserId(long userId) {
169 _userId = userId;
170 }
171
172 public String getUserName() {
173 return _userName;
174 }
175
176 public void setUserName(String userName) {
177 _userName = userName;
178 }
179
180 public Date getCreateDate() {
181 return _createDate;
182 }
183
184 public void setCreateDate(Date createDate) {
185 _createDate = createDate;
186 }
187
188 public Date getModifiedDate() {
189 return _modifiedDate;
190 }
191
192 public void setModifiedDate(Date modifiedDate) {
193 _modifiedDate = modifiedDate;
194 }
195
196 public String getNumber() {
197 return _number;
198 }
199
200 public void setNumber(String number) {
201 _number = number;
202 }
203
204 public double getTax() {
205 return _tax;
206 }
207
208 public void setTax(double tax) {
209 _tax = tax;
210 }
211
212 public double getShipping() {
213 return _shipping;
214 }
215
216 public void setShipping(double shipping) {
217 _shipping = shipping;
218 }
219
220 public String getAltShipping() {
221 return _altShipping;
222 }
223
224 public void setAltShipping(String altShipping) {
225 _altShipping = altShipping;
226 }
227
228 public boolean getRequiresShipping() {
229 return _requiresShipping;
230 }
231
232 public boolean isRequiresShipping() {
233 return _requiresShipping;
234 }
235
236 public void setRequiresShipping(boolean requiresShipping) {
237 _requiresShipping = requiresShipping;
238 }
239
240 public boolean getInsure() {
241 return _insure;
242 }
243
244 public boolean isInsure() {
245 return _insure;
246 }
247
248 public void setInsure(boolean insure) {
249 _insure = insure;
250 }
251
252 public double getInsurance() {
253 return _insurance;
254 }
255
256 public void setInsurance(double insurance) {
257 _insurance = insurance;
258 }
259
260 public String getCouponCodes() {
261 return _couponCodes;
262 }
263
264 public void setCouponCodes(String couponCodes) {
265 _couponCodes = couponCodes;
266 }
267
268 public double getCouponDiscount() {
269 return _couponDiscount;
270 }
271
272 public void setCouponDiscount(double couponDiscount) {
273 _couponDiscount = couponDiscount;
274 }
275
276 public String getBillingFirstName() {
277 return _billingFirstName;
278 }
279
280 public void setBillingFirstName(String billingFirstName) {
281 _billingFirstName = billingFirstName;
282 }
283
284 public String getBillingLastName() {
285 return _billingLastName;
286 }
287
288 public void setBillingLastName(String billingLastName) {
289 _billingLastName = billingLastName;
290 }
291
292 public String getBillingEmailAddress() {
293 return _billingEmailAddress;
294 }
295
296 public void setBillingEmailAddress(String billingEmailAddress) {
297 _billingEmailAddress = billingEmailAddress;
298 }
299
300 public String getBillingCompany() {
301 return _billingCompany;
302 }
303
304 public void setBillingCompany(String billingCompany) {
305 _billingCompany = billingCompany;
306 }
307
308 public String getBillingStreet() {
309 return _billingStreet;
310 }
311
312 public void setBillingStreet(String billingStreet) {
313 _billingStreet = billingStreet;
314 }
315
316 public String getBillingCity() {
317 return _billingCity;
318 }
319
320 public void setBillingCity(String billingCity) {
321 _billingCity = billingCity;
322 }
323
324 public String getBillingState() {
325 return _billingState;
326 }
327
328 public void setBillingState(String billingState) {
329 _billingState = billingState;
330 }
331
332 public String getBillingZip() {
333 return _billingZip;
334 }
335
336 public void setBillingZip(String billingZip) {
337 _billingZip = billingZip;
338 }
339
340 public String getBillingCountry() {
341 return _billingCountry;
342 }
343
344 public void setBillingCountry(String billingCountry) {
345 _billingCountry = billingCountry;
346 }
347
348 public String getBillingPhone() {
349 return _billingPhone;
350 }
351
352 public void setBillingPhone(String billingPhone) {
353 _billingPhone = billingPhone;
354 }
355
356 public boolean getShipToBilling() {
357 return _shipToBilling;
358 }
359
360 public boolean isShipToBilling() {
361 return _shipToBilling;
362 }
363
364 public void setShipToBilling(boolean shipToBilling) {
365 _shipToBilling = shipToBilling;
366 }
367
368 public String getShippingFirstName() {
369 return _shippingFirstName;
370 }
371
372 public void setShippingFirstName(String shippingFirstName) {
373 _shippingFirstName = shippingFirstName;
374 }
375
376 public String getShippingLastName() {
377 return _shippingLastName;
378 }
379
380 public void setShippingLastName(String shippingLastName) {
381 _shippingLastName = shippingLastName;
382 }
383
384 public String getShippingEmailAddress() {
385 return _shippingEmailAddress;
386 }
387
388 public void setShippingEmailAddress(String shippingEmailAddress) {
389 _shippingEmailAddress = shippingEmailAddress;
390 }
391
392 public String getShippingCompany() {
393 return _shippingCompany;
394 }
395
396 public void setShippingCompany(String shippingCompany) {
397 _shippingCompany = shippingCompany;
398 }
399
400 public String getShippingStreet() {
401 return _shippingStreet;
402 }
403
404 public void setShippingStreet(String shippingStreet) {
405 _shippingStreet = shippingStreet;
406 }
407
408 public String getShippingCity() {
409 return _shippingCity;
410 }
411
412 public void setShippingCity(String shippingCity) {
413 _shippingCity = shippingCity;
414 }
415
416 public String getShippingState() {
417 return _shippingState;
418 }
419
420 public void setShippingState(String shippingState) {
421 _shippingState = shippingState;
422 }
423
424 public String getShippingZip() {
425 return _shippingZip;
426 }
427
428 public void setShippingZip(String shippingZip) {
429 _shippingZip = shippingZip;
430 }
431
432 public String getShippingCountry() {
433 return _shippingCountry;
434 }
435
436 public void setShippingCountry(String shippingCountry) {
437 _shippingCountry = shippingCountry;
438 }
439
440 public String getShippingPhone() {
441 return _shippingPhone;
442 }
443
444 public void setShippingPhone(String shippingPhone) {
445 _shippingPhone = shippingPhone;
446 }
447
448 public String getCcName() {
449 return _ccName;
450 }
451
452 public void setCcName(String ccName) {
453 _ccName = ccName;
454 }
455
456 public String getCcType() {
457 return _ccType;
458 }
459
460 public void setCcType(String ccType) {
461 _ccType = ccType;
462 }
463
464 public String getCcNumber() {
465 return _ccNumber;
466 }
467
468 public void setCcNumber(String ccNumber) {
469 _ccNumber = ccNumber;
470 }
471
472 public int getCcExpMonth() {
473 return _ccExpMonth;
474 }
475
476 public void setCcExpMonth(int ccExpMonth) {
477 _ccExpMonth = ccExpMonth;
478 }
479
480 public int getCcExpYear() {
481 return _ccExpYear;
482 }
483
484 public void setCcExpYear(int ccExpYear) {
485 _ccExpYear = ccExpYear;
486 }
487
488 public String getCcVerNumber() {
489 return _ccVerNumber;
490 }
491
492 public void setCcVerNumber(String ccVerNumber) {
493 _ccVerNumber = ccVerNumber;
494 }
495
496 public String getComments() {
497 return _comments;
498 }
499
500 public void setComments(String comments) {
501 _comments = comments;
502 }
503
504 public String getPpTxnId() {
505 return _ppTxnId;
506 }
507
508 public void setPpTxnId(String ppTxnId) {
509 _ppTxnId = ppTxnId;
510 }
511
512 public String getPpPaymentStatus() {
513 return _ppPaymentStatus;
514 }
515
516 public void setPpPaymentStatus(String ppPaymentStatus) {
517 _ppPaymentStatus = ppPaymentStatus;
518 }
519
520 public double getPpPaymentGross() {
521 return _ppPaymentGross;
522 }
523
524 public void setPpPaymentGross(double ppPaymentGross) {
525 _ppPaymentGross = ppPaymentGross;
526 }
527
528 public String getPpReceiverEmail() {
529 return _ppReceiverEmail;
530 }
531
532 public void setPpReceiverEmail(String ppReceiverEmail) {
533 _ppReceiverEmail = ppReceiverEmail;
534 }
535
536 public String getPpPayerEmail() {
537 return _ppPayerEmail;
538 }
539
540 public void setPpPayerEmail(String ppPayerEmail) {
541 _ppPayerEmail = ppPayerEmail;
542 }
543
544 public boolean getSendOrderEmail() {
545 return _sendOrderEmail;
546 }
547
548 public boolean isSendOrderEmail() {
549 return _sendOrderEmail;
550 }
551
552 public void setSendOrderEmail(boolean sendOrderEmail) {
553 _sendOrderEmail = sendOrderEmail;
554 }
555
556 public boolean getSendShippingEmail() {
557 return _sendShippingEmail;
558 }
559
560 public boolean isSendShippingEmail() {
561 return _sendShippingEmail;
562 }
563
564 public void setSendShippingEmail(boolean sendShippingEmail) {
565 _sendShippingEmail = sendShippingEmail;
566 }
567
568 private long _orderId;
569 private long _groupId;
570 private long _companyId;
571 private long _userId;
572 private String _userName;
573 private Date _createDate;
574 private Date _modifiedDate;
575 private String _number;
576 private double _tax;
577 private double _shipping;
578 private String _altShipping;
579 private boolean _requiresShipping;
580 private boolean _insure;
581 private double _insurance;
582 private String _couponCodes;
583 private double _couponDiscount;
584 private String _billingFirstName;
585 private String _billingLastName;
586 private String _billingEmailAddress;
587 private String _billingCompany;
588 private String _billingStreet;
589 private String _billingCity;
590 private String _billingState;
591 private String _billingZip;
592 private String _billingCountry;
593 private String _billingPhone;
594 private boolean _shipToBilling;
595 private String _shippingFirstName;
596 private String _shippingLastName;
597 private String _shippingEmailAddress;
598 private String _shippingCompany;
599 private String _shippingStreet;
600 private String _shippingCity;
601 private String _shippingState;
602 private String _shippingZip;
603 private String _shippingCountry;
604 private String _shippingPhone;
605 private String _ccName;
606 private String _ccType;
607 private String _ccNumber;
608 private int _ccExpMonth;
609 private int _ccExpYear;
610 private String _ccVerNumber;
611 private String _comments;
612 private String _ppTxnId;
613 private String _ppPaymentStatus;
614 private double _ppPaymentGross;
615 private String _ppReceiverEmail;
616 private String _ppPayerEmail;
617 private boolean _sendOrderEmail;
618 private boolean _sendShippingEmail;
619 }