001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.shopping.model;
016    
017    import com.liferay.portal.kernel.util.Validator;
018    import com.liferay.portal.model.ModelWrapper;
019    
020    import java.util.Date;
021    import java.util.HashMap;
022    import java.util.Map;
023    
024    /**
025     * <p>
026     * This class is a wrapper for {@link ShoppingOrder}.
027     * </p>
028     *
029     * @author    Brian Wing Shun Chan
030     * @see       ShoppingOrder
031     * @generated
032     */
033    public class ShoppingOrderWrapper implements ShoppingOrder,
034            ModelWrapper<ShoppingOrder> {
035            public ShoppingOrderWrapper(ShoppingOrder shoppingOrder) {
036                    _shoppingOrder = shoppingOrder;
037            }
038    
039            public Class<?> getModelClass() {
040                    return ShoppingOrder.class;
041            }
042    
043            public String getModelClassName() {
044                    return ShoppingOrder.class.getName();
045            }
046    
047            public Map<String, Object> getModelAttributes() {
048                    Map<String, Object> attributes = new HashMap<String, Object>();
049    
050                    attributes.put("orderId", getOrderId());
051                    attributes.put("groupId", getGroupId());
052                    attributes.put("companyId", getCompanyId());
053                    attributes.put("userId", getUserId());
054                    attributes.put("userName", getUserName());
055                    attributes.put("createDate", getCreateDate());
056                    attributes.put("modifiedDate", getModifiedDate());
057                    attributes.put("number", getNumber());
058                    attributes.put("tax", getTax());
059                    attributes.put("shipping", getShipping());
060                    attributes.put("altShipping", getAltShipping());
061                    attributes.put("requiresShipping", getRequiresShipping());
062                    attributes.put("insure", getInsure());
063                    attributes.put("insurance", getInsurance());
064                    attributes.put("couponCodes", getCouponCodes());
065                    attributes.put("couponDiscount", getCouponDiscount());
066                    attributes.put("billingFirstName", getBillingFirstName());
067                    attributes.put("billingLastName", getBillingLastName());
068                    attributes.put("billingEmailAddress", getBillingEmailAddress());
069                    attributes.put("billingCompany", getBillingCompany());
070                    attributes.put("billingStreet", getBillingStreet());
071                    attributes.put("billingCity", getBillingCity());
072                    attributes.put("billingState", getBillingState());
073                    attributes.put("billingZip", getBillingZip());
074                    attributes.put("billingCountry", getBillingCountry());
075                    attributes.put("billingPhone", getBillingPhone());
076                    attributes.put("shipToBilling", getShipToBilling());
077                    attributes.put("shippingFirstName", getShippingFirstName());
078                    attributes.put("shippingLastName", getShippingLastName());
079                    attributes.put("shippingEmailAddress", getShippingEmailAddress());
080                    attributes.put("shippingCompany", getShippingCompany());
081                    attributes.put("shippingStreet", getShippingStreet());
082                    attributes.put("shippingCity", getShippingCity());
083                    attributes.put("shippingState", getShippingState());
084                    attributes.put("shippingZip", getShippingZip());
085                    attributes.put("shippingCountry", getShippingCountry());
086                    attributes.put("shippingPhone", getShippingPhone());
087                    attributes.put("ccName", getCcName());
088                    attributes.put("ccType", getCcType());
089                    attributes.put("ccNumber", getCcNumber());
090                    attributes.put("ccExpMonth", getCcExpMonth());
091                    attributes.put("ccExpYear", getCcExpYear());
092                    attributes.put("ccVerNumber", getCcVerNumber());
093                    attributes.put("comments", getComments());
094                    attributes.put("ppTxnId", getPpTxnId());
095                    attributes.put("ppPaymentStatus", getPpPaymentStatus());
096                    attributes.put("ppPaymentGross", getPpPaymentGross());
097                    attributes.put("ppReceiverEmail", getPpReceiverEmail());
098                    attributes.put("ppPayerEmail", getPpPayerEmail());
099                    attributes.put("sendOrderEmail", getSendOrderEmail());
100                    attributes.put("sendShippingEmail", getSendShippingEmail());
101    
102                    return attributes;
103            }
104    
105            public void setModelAttributes(Map<String, Object> attributes) {
106                    Long orderId = (Long)attributes.get("orderId");
107    
108                    if (orderId != null) {
109                            setOrderId(orderId);
110                    }
111    
112                    Long groupId = (Long)attributes.get("groupId");
113    
114                    if (groupId != null) {
115                            setGroupId(groupId);
116                    }
117    
118                    Long companyId = (Long)attributes.get("companyId");
119    
120                    if (companyId != null) {
121                            setCompanyId(companyId);
122                    }
123    
124                    Long userId = (Long)attributes.get("userId");
125    
126                    if (userId != null) {
127                            setUserId(userId);
128                    }
129    
130                    String userName = (String)attributes.get("userName");
131    
132                    if (userName != null) {
133                            setUserName(userName);
134                    }
135    
136                    Date createDate = (Date)attributes.get("createDate");
137    
138                    if (createDate != null) {
139                            setCreateDate(createDate);
140                    }
141    
142                    Date modifiedDate = (Date)attributes.get("modifiedDate");
143    
144                    if (modifiedDate != null) {
145                            setModifiedDate(modifiedDate);
146                    }
147    
148                    String number = (String)attributes.get("number");
149    
150                    if (number != null) {
151                            setNumber(number);
152                    }
153    
154                    Double tax = (Double)attributes.get("tax");
155    
156                    if (tax != null) {
157                            setTax(tax);
158                    }
159    
160                    Double shipping = (Double)attributes.get("shipping");
161    
162                    if (shipping != null) {
163                            setShipping(shipping);
164                    }
165    
166                    String altShipping = (String)attributes.get("altShipping");
167    
168                    if (altShipping != null) {
169                            setAltShipping(altShipping);
170                    }
171    
172                    Boolean requiresShipping = (Boolean)attributes.get("requiresShipping");
173    
174                    if (requiresShipping != null) {
175                            setRequiresShipping(requiresShipping);
176                    }
177    
178                    Boolean insure = (Boolean)attributes.get("insure");
179    
180                    if (insure != null) {
181                            setInsure(insure);
182                    }
183    
184                    Double insurance = (Double)attributes.get("insurance");
185    
186                    if (insurance != null) {
187                            setInsurance(insurance);
188                    }
189    
190                    String couponCodes = (String)attributes.get("couponCodes");
191    
192                    if (couponCodes != null) {
193                            setCouponCodes(couponCodes);
194                    }
195    
196                    Double couponDiscount = (Double)attributes.get("couponDiscount");
197    
198                    if (couponDiscount != null) {
199                            setCouponDiscount(couponDiscount);
200                    }
201    
202                    String billingFirstName = (String)attributes.get("billingFirstName");
203    
204                    if (billingFirstName != null) {
205                            setBillingFirstName(billingFirstName);
206                    }
207    
208                    String billingLastName = (String)attributes.get("billingLastName");
209    
210                    if (billingLastName != null) {
211                            setBillingLastName(billingLastName);
212                    }
213    
214                    String billingEmailAddress = (String)attributes.get(
215                                    "billingEmailAddress");
216    
217                    if (billingEmailAddress != null) {
218                            setBillingEmailAddress(billingEmailAddress);
219                    }
220    
221                    String billingCompany = (String)attributes.get("billingCompany");
222    
223                    if (billingCompany != null) {
224                            setBillingCompany(billingCompany);
225                    }
226    
227                    String billingStreet = (String)attributes.get("billingStreet");
228    
229                    if (billingStreet != null) {
230                            setBillingStreet(billingStreet);
231                    }
232    
233                    String billingCity = (String)attributes.get("billingCity");
234    
235                    if (billingCity != null) {
236                            setBillingCity(billingCity);
237                    }
238    
239                    String billingState = (String)attributes.get("billingState");
240    
241                    if (billingState != null) {
242                            setBillingState(billingState);
243                    }
244    
245                    String billingZip = (String)attributes.get("billingZip");
246    
247                    if (billingZip != null) {
248                            setBillingZip(billingZip);
249                    }
250    
251                    String billingCountry = (String)attributes.get("billingCountry");
252    
253                    if (billingCountry != null) {
254                            setBillingCountry(billingCountry);
255                    }
256    
257                    String billingPhone = (String)attributes.get("billingPhone");
258    
259                    if (billingPhone != null) {
260                            setBillingPhone(billingPhone);
261                    }
262    
263                    Boolean shipToBilling = (Boolean)attributes.get("shipToBilling");
264    
265                    if (shipToBilling != null) {
266                            setShipToBilling(shipToBilling);
267                    }
268    
269                    String shippingFirstName = (String)attributes.get("shippingFirstName");
270    
271                    if (shippingFirstName != null) {
272                            setShippingFirstName(shippingFirstName);
273                    }
274    
275                    String shippingLastName = (String)attributes.get("shippingLastName");
276    
277                    if (shippingLastName != null) {
278                            setShippingLastName(shippingLastName);
279                    }
280    
281                    String shippingEmailAddress = (String)attributes.get(
282                                    "shippingEmailAddress");
283    
284                    if (shippingEmailAddress != null) {
285                            setShippingEmailAddress(shippingEmailAddress);
286                    }
287    
288                    String shippingCompany = (String)attributes.get("shippingCompany");
289    
290                    if (shippingCompany != null) {
291                            setShippingCompany(shippingCompany);
292                    }
293    
294                    String shippingStreet = (String)attributes.get("shippingStreet");
295    
296                    if (shippingStreet != null) {
297                            setShippingStreet(shippingStreet);
298                    }
299    
300                    String shippingCity = (String)attributes.get("shippingCity");
301    
302                    if (shippingCity != null) {
303                            setShippingCity(shippingCity);
304                    }
305    
306                    String shippingState = (String)attributes.get("shippingState");
307    
308                    if (shippingState != null) {
309                            setShippingState(shippingState);
310                    }
311    
312                    String shippingZip = (String)attributes.get("shippingZip");
313    
314                    if (shippingZip != null) {
315                            setShippingZip(shippingZip);
316                    }
317    
318                    String shippingCountry = (String)attributes.get("shippingCountry");
319    
320                    if (shippingCountry != null) {
321                            setShippingCountry(shippingCountry);
322                    }
323    
324                    String shippingPhone = (String)attributes.get("shippingPhone");
325    
326                    if (shippingPhone != null) {
327                            setShippingPhone(shippingPhone);
328                    }
329    
330                    String ccName = (String)attributes.get("ccName");
331    
332                    if (ccName != null) {
333                            setCcName(ccName);
334                    }
335    
336                    String ccType = (String)attributes.get("ccType");
337    
338                    if (ccType != null) {
339                            setCcType(ccType);
340                    }
341    
342                    String ccNumber = (String)attributes.get("ccNumber");
343    
344                    if (ccNumber != null) {
345                            setCcNumber(ccNumber);
346                    }
347    
348                    Integer ccExpMonth = (Integer)attributes.get("ccExpMonth");
349    
350                    if (ccExpMonth != null) {
351                            setCcExpMonth(ccExpMonth);
352                    }
353    
354                    Integer ccExpYear = (Integer)attributes.get("ccExpYear");
355    
356                    if (ccExpYear != null) {
357                            setCcExpYear(ccExpYear);
358                    }
359    
360                    String ccVerNumber = (String)attributes.get("ccVerNumber");
361    
362                    if (ccVerNumber != null) {
363                            setCcVerNumber(ccVerNumber);
364                    }
365    
366                    String comments = (String)attributes.get("comments");
367    
368                    if (comments != null) {
369                            setComments(comments);
370                    }
371    
372                    String ppTxnId = (String)attributes.get("ppTxnId");
373    
374                    if (ppTxnId != null) {
375                            setPpTxnId(ppTxnId);
376                    }
377    
378                    String ppPaymentStatus = (String)attributes.get("ppPaymentStatus");
379    
380                    if (ppPaymentStatus != null) {
381                            setPpPaymentStatus(ppPaymentStatus);
382                    }
383    
384                    Double ppPaymentGross = (Double)attributes.get("ppPaymentGross");
385    
386                    if (ppPaymentGross != null) {
387                            setPpPaymentGross(ppPaymentGross);
388                    }
389    
390                    String ppReceiverEmail = (String)attributes.get("ppReceiverEmail");
391    
392                    if (ppReceiverEmail != null) {
393                            setPpReceiverEmail(ppReceiverEmail);
394                    }
395    
396                    String ppPayerEmail = (String)attributes.get("ppPayerEmail");
397    
398                    if (ppPayerEmail != null) {
399                            setPpPayerEmail(ppPayerEmail);
400                    }
401    
402                    Boolean sendOrderEmail = (Boolean)attributes.get("sendOrderEmail");
403    
404                    if (sendOrderEmail != null) {
405                            setSendOrderEmail(sendOrderEmail);
406                    }
407    
408                    Boolean sendShippingEmail = (Boolean)attributes.get("sendShippingEmail");
409    
410                    if (sendShippingEmail != null) {
411                            setSendShippingEmail(sendShippingEmail);
412                    }
413            }
414    
415            /**
416            * Returns the primary key of this shopping order.
417            *
418            * @return the primary key of this shopping order
419            */
420            public long getPrimaryKey() {
421                    return _shoppingOrder.getPrimaryKey();
422            }
423    
424            /**
425            * Sets the primary key of this shopping order.
426            *
427            * @param primaryKey the primary key of this shopping order
428            */
429            public void setPrimaryKey(long primaryKey) {
430                    _shoppingOrder.setPrimaryKey(primaryKey);
431            }
432    
433            /**
434            * Returns the order ID of this shopping order.
435            *
436            * @return the order ID of this shopping order
437            */
438            public long getOrderId() {
439                    return _shoppingOrder.getOrderId();
440            }
441    
442            /**
443            * Sets the order ID of this shopping order.
444            *
445            * @param orderId the order ID of this shopping order
446            */
447            public void setOrderId(long orderId) {
448                    _shoppingOrder.setOrderId(orderId);
449            }
450    
451            /**
452            * Returns the group ID of this shopping order.
453            *
454            * @return the group ID of this shopping order
455            */
456            public long getGroupId() {
457                    return _shoppingOrder.getGroupId();
458            }
459    
460            /**
461            * Sets the group ID of this shopping order.
462            *
463            * @param groupId the group ID of this shopping order
464            */
465            public void setGroupId(long groupId) {
466                    _shoppingOrder.setGroupId(groupId);
467            }
468    
469            /**
470            * Returns the company ID of this shopping order.
471            *
472            * @return the company ID of this shopping order
473            */
474            public long getCompanyId() {
475                    return _shoppingOrder.getCompanyId();
476            }
477    
478            /**
479            * Sets the company ID of this shopping order.
480            *
481            * @param companyId the company ID of this shopping order
482            */
483            public void setCompanyId(long companyId) {
484                    _shoppingOrder.setCompanyId(companyId);
485            }
486    
487            /**
488            * Returns the user ID of this shopping order.
489            *
490            * @return the user ID of this shopping order
491            */
492            public long getUserId() {
493                    return _shoppingOrder.getUserId();
494            }
495    
496            /**
497            * Sets the user ID of this shopping order.
498            *
499            * @param userId the user ID of this shopping order
500            */
501            public void setUserId(long userId) {
502                    _shoppingOrder.setUserId(userId);
503            }
504    
505            /**
506            * Returns the user uuid of this shopping order.
507            *
508            * @return the user uuid of this shopping order
509            * @throws SystemException if a system exception occurred
510            */
511            public java.lang.String getUserUuid()
512                    throws com.liferay.portal.kernel.exception.SystemException {
513                    return _shoppingOrder.getUserUuid();
514            }
515    
516            /**
517            * Sets the user uuid of this shopping order.
518            *
519            * @param userUuid the user uuid of this shopping order
520            */
521            public void setUserUuid(java.lang.String userUuid) {
522                    _shoppingOrder.setUserUuid(userUuid);
523            }
524    
525            /**
526            * Returns the user name of this shopping order.
527            *
528            * @return the user name of this shopping order
529            */
530            public java.lang.String getUserName() {
531                    return _shoppingOrder.getUserName();
532            }
533    
534            /**
535            * Sets the user name of this shopping order.
536            *
537            * @param userName the user name of this shopping order
538            */
539            public void setUserName(java.lang.String userName) {
540                    _shoppingOrder.setUserName(userName);
541            }
542    
543            /**
544            * Returns the create date of this shopping order.
545            *
546            * @return the create date of this shopping order
547            */
548            public java.util.Date getCreateDate() {
549                    return _shoppingOrder.getCreateDate();
550            }
551    
552            /**
553            * Sets the create date of this shopping order.
554            *
555            * @param createDate the create date of this shopping order
556            */
557            public void setCreateDate(java.util.Date createDate) {
558                    _shoppingOrder.setCreateDate(createDate);
559            }
560    
561            /**
562            * Returns the modified date of this shopping order.
563            *
564            * @return the modified date of this shopping order
565            */
566            public java.util.Date getModifiedDate() {
567                    return _shoppingOrder.getModifiedDate();
568            }
569    
570            /**
571            * Sets the modified date of this shopping order.
572            *
573            * @param modifiedDate the modified date of this shopping order
574            */
575            public void setModifiedDate(java.util.Date modifiedDate) {
576                    _shoppingOrder.setModifiedDate(modifiedDate);
577            }
578    
579            /**
580            * Returns the number of this shopping order.
581            *
582            * @return the number of this shopping order
583            */
584            public java.lang.String getNumber() {
585                    return _shoppingOrder.getNumber();
586            }
587    
588            /**
589            * Sets the number of this shopping order.
590            *
591            * @param number the number of this shopping order
592            */
593            public void setNumber(java.lang.String number) {
594                    _shoppingOrder.setNumber(number);
595            }
596    
597            /**
598            * Returns the tax of this shopping order.
599            *
600            * @return the tax of this shopping order
601            */
602            public double getTax() {
603                    return _shoppingOrder.getTax();
604            }
605    
606            /**
607            * Sets the tax of this shopping order.
608            *
609            * @param tax the tax of this shopping order
610            */
611            public void setTax(double tax) {
612                    _shoppingOrder.setTax(tax);
613            }
614    
615            /**
616            * Returns the shipping of this shopping order.
617            *
618            * @return the shipping of this shopping order
619            */
620            public double getShipping() {
621                    return _shoppingOrder.getShipping();
622            }
623    
624            /**
625            * Sets the shipping of this shopping order.
626            *
627            * @param shipping the shipping of this shopping order
628            */
629            public void setShipping(double shipping) {
630                    _shoppingOrder.setShipping(shipping);
631            }
632    
633            /**
634            * Returns the alt shipping of this shopping order.
635            *
636            * @return the alt shipping of this shopping order
637            */
638            public java.lang.String getAltShipping() {
639                    return _shoppingOrder.getAltShipping();
640            }
641    
642            /**
643            * Sets the alt shipping of this shopping order.
644            *
645            * @param altShipping the alt shipping of this shopping order
646            */
647            public void setAltShipping(java.lang.String altShipping) {
648                    _shoppingOrder.setAltShipping(altShipping);
649            }
650    
651            /**
652            * Returns the requires shipping of this shopping order.
653            *
654            * @return the requires shipping of this shopping order
655            */
656            public boolean getRequiresShipping() {
657                    return _shoppingOrder.getRequiresShipping();
658            }
659    
660            /**
661            * Returns <code>true</code> if this shopping order is requires shipping.
662            *
663            * @return <code>true</code> if this shopping order is requires shipping; <code>false</code> otherwise
664            */
665            public boolean isRequiresShipping() {
666                    return _shoppingOrder.isRequiresShipping();
667            }
668    
669            /**
670            * Sets whether this shopping order is requires shipping.
671            *
672            * @param requiresShipping the requires shipping of this shopping order
673            */
674            public void setRequiresShipping(boolean requiresShipping) {
675                    _shoppingOrder.setRequiresShipping(requiresShipping);
676            }
677    
678            /**
679            * Returns the insure of this shopping order.
680            *
681            * @return the insure of this shopping order
682            */
683            public boolean getInsure() {
684                    return _shoppingOrder.getInsure();
685            }
686    
687            /**
688            * Returns <code>true</code> if this shopping order is insure.
689            *
690            * @return <code>true</code> if this shopping order is insure; <code>false</code> otherwise
691            */
692            public boolean isInsure() {
693                    return _shoppingOrder.isInsure();
694            }
695    
696            /**
697            * Sets whether this shopping order is insure.
698            *
699            * @param insure the insure of this shopping order
700            */
701            public void setInsure(boolean insure) {
702                    _shoppingOrder.setInsure(insure);
703            }
704    
705            /**
706            * Returns the insurance of this shopping order.
707            *
708            * @return the insurance of this shopping order
709            */
710            public double getInsurance() {
711                    return _shoppingOrder.getInsurance();
712            }
713    
714            /**
715            * Sets the insurance of this shopping order.
716            *
717            * @param insurance the insurance of this shopping order
718            */
719            public void setInsurance(double insurance) {
720                    _shoppingOrder.setInsurance(insurance);
721            }
722    
723            /**
724            * Returns the coupon codes of this shopping order.
725            *
726            * @return the coupon codes of this shopping order
727            */
728            public java.lang.String getCouponCodes() {
729                    return _shoppingOrder.getCouponCodes();
730            }
731    
732            /**
733            * Sets the coupon codes of this shopping order.
734            *
735            * @param couponCodes the coupon codes of this shopping order
736            */
737            public void setCouponCodes(java.lang.String couponCodes) {
738                    _shoppingOrder.setCouponCodes(couponCodes);
739            }
740    
741            /**
742            * Returns the coupon discount of this shopping order.
743            *
744            * @return the coupon discount of this shopping order
745            */
746            public double getCouponDiscount() {
747                    return _shoppingOrder.getCouponDiscount();
748            }
749    
750            /**
751            * Sets the coupon discount of this shopping order.
752            *
753            * @param couponDiscount the coupon discount of this shopping order
754            */
755            public void setCouponDiscount(double couponDiscount) {
756                    _shoppingOrder.setCouponDiscount(couponDiscount);
757            }
758    
759            /**
760            * Returns the billing first name of this shopping order.
761            *
762            * @return the billing first name of this shopping order
763            */
764            public java.lang.String getBillingFirstName() {
765                    return _shoppingOrder.getBillingFirstName();
766            }
767    
768            /**
769            * Sets the billing first name of this shopping order.
770            *
771            * @param billingFirstName the billing first name of this shopping order
772            */
773            public void setBillingFirstName(java.lang.String billingFirstName) {
774                    _shoppingOrder.setBillingFirstName(billingFirstName);
775            }
776    
777            /**
778            * Returns the billing last name of this shopping order.
779            *
780            * @return the billing last name of this shopping order
781            */
782            public java.lang.String getBillingLastName() {
783                    return _shoppingOrder.getBillingLastName();
784            }
785    
786            /**
787            * Sets the billing last name of this shopping order.
788            *
789            * @param billingLastName the billing last name of this shopping order
790            */
791            public void setBillingLastName(java.lang.String billingLastName) {
792                    _shoppingOrder.setBillingLastName(billingLastName);
793            }
794    
795            /**
796            * Returns the billing email address of this shopping order.
797            *
798            * @return the billing email address of this shopping order
799            */
800            public java.lang.String getBillingEmailAddress() {
801                    return _shoppingOrder.getBillingEmailAddress();
802            }
803    
804            /**
805            * Sets the billing email address of this shopping order.
806            *
807            * @param billingEmailAddress the billing email address of this shopping order
808            */
809            public void setBillingEmailAddress(java.lang.String billingEmailAddress) {
810                    _shoppingOrder.setBillingEmailAddress(billingEmailAddress);
811            }
812    
813            /**
814            * Returns the billing company of this shopping order.
815            *
816            * @return the billing company of this shopping order
817            */
818            public java.lang.String getBillingCompany() {
819                    return _shoppingOrder.getBillingCompany();
820            }
821    
822            /**
823            * Sets the billing company of this shopping order.
824            *
825            * @param billingCompany the billing company of this shopping order
826            */
827            public void setBillingCompany(java.lang.String billingCompany) {
828                    _shoppingOrder.setBillingCompany(billingCompany);
829            }
830    
831            /**
832            * Returns the billing street of this shopping order.
833            *
834            * @return the billing street of this shopping order
835            */
836            public java.lang.String getBillingStreet() {
837                    return _shoppingOrder.getBillingStreet();
838            }
839    
840            /**
841            * Sets the billing street of this shopping order.
842            *
843            * @param billingStreet the billing street of this shopping order
844            */
845            public void setBillingStreet(java.lang.String billingStreet) {
846                    _shoppingOrder.setBillingStreet(billingStreet);
847            }
848    
849            /**
850            * Returns the billing city of this shopping order.
851            *
852            * @return the billing city of this shopping order
853            */
854            public java.lang.String getBillingCity() {
855                    return _shoppingOrder.getBillingCity();
856            }
857    
858            /**
859            * Sets the billing city of this shopping order.
860            *
861            * @param billingCity the billing city of this shopping order
862            */
863            public void setBillingCity(java.lang.String billingCity) {
864                    _shoppingOrder.setBillingCity(billingCity);
865            }
866    
867            /**
868            * Returns the billing state of this shopping order.
869            *
870            * @return the billing state of this shopping order
871            */
872            public java.lang.String getBillingState() {
873                    return _shoppingOrder.getBillingState();
874            }
875    
876            /**
877            * Sets the billing state of this shopping order.
878            *
879            * @param billingState the billing state of this shopping order
880            */
881            public void setBillingState(java.lang.String billingState) {
882                    _shoppingOrder.setBillingState(billingState);
883            }
884    
885            /**
886            * Returns the billing zip of this shopping order.
887            *
888            * @return the billing zip of this shopping order
889            */
890            public java.lang.String getBillingZip() {
891                    return _shoppingOrder.getBillingZip();
892            }
893    
894            /**
895            * Sets the billing zip of this shopping order.
896            *
897            * @param billingZip the billing zip of this shopping order
898            */
899            public void setBillingZip(java.lang.String billingZip) {
900                    _shoppingOrder.setBillingZip(billingZip);
901            }
902    
903            /**
904            * Returns the billing country of this shopping order.
905            *
906            * @return the billing country of this shopping order
907            */
908            public java.lang.String getBillingCountry() {
909                    return _shoppingOrder.getBillingCountry();
910            }
911    
912            /**
913            * Sets the billing country of this shopping order.
914            *
915            * @param billingCountry the billing country of this shopping order
916            */
917            public void setBillingCountry(java.lang.String billingCountry) {
918                    _shoppingOrder.setBillingCountry(billingCountry);
919            }
920    
921            /**
922            * Returns the billing phone of this shopping order.
923            *
924            * @return the billing phone of this shopping order
925            */
926            public java.lang.String getBillingPhone() {
927                    return _shoppingOrder.getBillingPhone();
928            }
929    
930            /**
931            * Sets the billing phone of this shopping order.
932            *
933            * @param billingPhone the billing phone of this shopping order
934            */
935            public void setBillingPhone(java.lang.String billingPhone) {
936                    _shoppingOrder.setBillingPhone(billingPhone);
937            }
938    
939            /**
940            * Returns the ship to billing of this shopping order.
941            *
942            * @return the ship to billing of this shopping order
943            */
944            public boolean getShipToBilling() {
945                    return _shoppingOrder.getShipToBilling();
946            }
947    
948            /**
949            * Returns <code>true</code> if this shopping order is ship to billing.
950            *
951            * @return <code>true</code> if this shopping order is ship to billing; <code>false</code> otherwise
952            */
953            public boolean isShipToBilling() {
954                    return _shoppingOrder.isShipToBilling();
955            }
956    
957            /**
958            * Sets whether this shopping order is ship to billing.
959            *
960            * @param shipToBilling the ship to billing of this shopping order
961            */
962            public void setShipToBilling(boolean shipToBilling) {
963                    _shoppingOrder.setShipToBilling(shipToBilling);
964            }
965    
966            /**
967            * Returns the shipping first name of this shopping order.
968            *
969            * @return the shipping first name of this shopping order
970            */
971            public java.lang.String getShippingFirstName() {
972                    return _shoppingOrder.getShippingFirstName();
973            }
974    
975            /**
976            * Sets the shipping first name of this shopping order.
977            *
978            * @param shippingFirstName the shipping first name of this shopping order
979            */
980            public void setShippingFirstName(java.lang.String shippingFirstName) {
981                    _shoppingOrder.setShippingFirstName(shippingFirstName);
982            }
983    
984            /**
985            * Returns the shipping last name of this shopping order.
986            *
987            * @return the shipping last name of this shopping order
988            */
989            public java.lang.String getShippingLastName() {
990                    return _shoppingOrder.getShippingLastName();
991            }
992    
993            /**
994            * Sets the shipping last name of this shopping order.
995            *
996            * @param shippingLastName the shipping last name of this shopping order
997            */
998            public void setShippingLastName(java.lang.String shippingLastName) {
999                    _shoppingOrder.setShippingLastName(shippingLastName);
1000            }
1001    
1002            /**
1003            * Returns the shipping email address of this shopping order.
1004            *
1005            * @return the shipping email address of this shopping order
1006            */
1007            public java.lang.String getShippingEmailAddress() {
1008                    return _shoppingOrder.getShippingEmailAddress();
1009            }
1010    
1011            /**
1012            * Sets the shipping email address of this shopping order.
1013            *
1014            * @param shippingEmailAddress the shipping email address of this shopping order
1015            */
1016            public void setShippingEmailAddress(java.lang.String shippingEmailAddress) {
1017                    _shoppingOrder.setShippingEmailAddress(shippingEmailAddress);
1018            }
1019    
1020            /**
1021            * Returns the shipping company of this shopping order.
1022            *
1023            * @return the shipping company of this shopping order
1024            */
1025            public java.lang.String getShippingCompany() {
1026                    return _shoppingOrder.getShippingCompany();
1027            }
1028    
1029            /**
1030            * Sets the shipping company of this shopping order.
1031            *
1032            * @param shippingCompany the shipping company of this shopping order
1033            */
1034            public void setShippingCompany(java.lang.String shippingCompany) {
1035                    _shoppingOrder.setShippingCompany(shippingCompany);
1036            }
1037    
1038            /**
1039            * Returns the shipping street of this shopping order.
1040            *
1041            * @return the shipping street of this shopping order
1042            */
1043            public java.lang.String getShippingStreet() {
1044                    return _shoppingOrder.getShippingStreet();
1045            }
1046    
1047            /**
1048            * Sets the shipping street of this shopping order.
1049            *
1050            * @param shippingStreet the shipping street of this shopping order
1051            */
1052            public void setShippingStreet(java.lang.String shippingStreet) {
1053                    _shoppingOrder.setShippingStreet(shippingStreet);
1054            }
1055    
1056            /**
1057            * Returns the shipping city of this shopping order.
1058            *
1059            * @return the shipping city of this shopping order
1060            */
1061            public java.lang.String getShippingCity() {
1062                    return _shoppingOrder.getShippingCity();
1063            }
1064    
1065            /**
1066            * Sets the shipping city of this shopping order.
1067            *
1068            * @param shippingCity the shipping city of this shopping order
1069            */
1070            public void setShippingCity(java.lang.String shippingCity) {
1071                    _shoppingOrder.setShippingCity(shippingCity);
1072            }
1073    
1074            /**
1075            * Returns the shipping state of this shopping order.
1076            *
1077            * @return the shipping state of this shopping order
1078            */
1079            public java.lang.String getShippingState() {
1080                    return _shoppingOrder.getShippingState();
1081            }
1082    
1083            /**
1084            * Sets the shipping state of this shopping order.
1085            *
1086            * @param shippingState the shipping state of this shopping order
1087            */
1088            public void setShippingState(java.lang.String shippingState) {
1089                    _shoppingOrder.setShippingState(shippingState);
1090            }
1091    
1092            /**
1093            * Returns the shipping zip of this shopping order.
1094            *
1095            * @return the shipping zip of this shopping order
1096            */
1097            public java.lang.String getShippingZip() {
1098                    return _shoppingOrder.getShippingZip();
1099            }
1100    
1101            /**
1102            * Sets the shipping zip of this shopping order.
1103            *
1104            * @param shippingZip the shipping zip of this shopping order
1105            */
1106            public void setShippingZip(java.lang.String shippingZip) {
1107                    _shoppingOrder.setShippingZip(shippingZip);
1108            }
1109    
1110            /**
1111            * Returns the shipping country of this shopping order.
1112            *
1113            * @return the shipping country of this shopping order
1114            */
1115            public java.lang.String getShippingCountry() {
1116                    return _shoppingOrder.getShippingCountry();
1117            }
1118    
1119            /**
1120            * Sets the shipping country of this shopping order.
1121            *
1122            * @param shippingCountry the shipping country of this shopping order
1123            */
1124            public void setShippingCountry(java.lang.String shippingCountry) {
1125                    _shoppingOrder.setShippingCountry(shippingCountry);
1126            }
1127    
1128            /**
1129            * Returns the shipping phone of this shopping order.
1130            *
1131            * @return the shipping phone of this shopping order
1132            */
1133            public java.lang.String getShippingPhone() {
1134                    return _shoppingOrder.getShippingPhone();
1135            }
1136    
1137            /**
1138            * Sets the shipping phone of this shopping order.
1139            *
1140            * @param shippingPhone the shipping phone of this shopping order
1141            */
1142            public void setShippingPhone(java.lang.String shippingPhone) {
1143                    _shoppingOrder.setShippingPhone(shippingPhone);
1144            }
1145    
1146            /**
1147            * Returns the cc name of this shopping order.
1148            *
1149            * @return the cc name of this shopping order
1150            */
1151            public java.lang.String getCcName() {
1152                    return _shoppingOrder.getCcName();
1153            }
1154    
1155            /**
1156            * Sets the cc name of this shopping order.
1157            *
1158            * @param ccName the cc name of this shopping order
1159            */
1160            public void setCcName(java.lang.String ccName) {
1161                    _shoppingOrder.setCcName(ccName);
1162            }
1163    
1164            /**
1165            * Returns the cc type of this shopping order.
1166            *
1167            * @return the cc type of this shopping order
1168            */
1169            public java.lang.String getCcType() {
1170                    return _shoppingOrder.getCcType();
1171            }
1172    
1173            /**
1174            * Sets the cc type of this shopping order.
1175            *
1176            * @param ccType the cc type of this shopping order
1177            */
1178            public void setCcType(java.lang.String ccType) {
1179                    _shoppingOrder.setCcType(ccType);
1180            }
1181    
1182            /**
1183            * Returns the cc number of this shopping order.
1184            *
1185            * @return the cc number of this shopping order
1186            */
1187            public java.lang.String getCcNumber() {
1188                    return _shoppingOrder.getCcNumber();
1189            }
1190    
1191            /**
1192            * Sets the cc number of this shopping order.
1193            *
1194            * @param ccNumber the cc number of this shopping order
1195            */
1196            public void setCcNumber(java.lang.String ccNumber) {
1197                    _shoppingOrder.setCcNumber(ccNumber);
1198            }
1199    
1200            /**
1201            * Returns the cc exp month of this shopping order.
1202            *
1203            * @return the cc exp month of this shopping order
1204            */
1205            public int getCcExpMonth() {
1206                    return _shoppingOrder.getCcExpMonth();
1207            }
1208    
1209            /**
1210            * Sets the cc exp month of this shopping order.
1211            *
1212            * @param ccExpMonth the cc exp month of this shopping order
1213            */
1214            public void setCcExpMonth(int ccExpMonth) {
1215                    _shoppingOrder.setCcExpMonth(ccExpMonth);
1216            }
1217    
1218            /**
1219            * Returns the cc exp year of this shopping order.
1220            *
1221            * @return the cc exp year of this shopping order
1222            */
1223            public int getCcExpYear() {
1224                    return _shoppingOrder.getCcExpYear();
1225            }
1226    
1227            /**
1228            * Sets the cc exp year of this shopping order.
1229            *
1230            * @param ccExpYear the cc exp year of this shopping order
1231            */
1232            public void setCcExpYear(int ccExpYear) {
1233                    _shoppingOrder.setCcExpYear(ccExpYear);
1234            }
1235    
1236            /**
1237            * Returns the cc ver number of this shopping order.
1238            *
1239            * @return the cc ver number of this shopping order
1240            */
1241            public java.lang.String getCcVerNumber() {
1242                    return _shoppingOrder.getCcVerNumber();
1243            }
1244    
1245            /**
1246            * Sets the cc ver number of this shopping order.
1247            *
1248            * @param ccVerNumber the cc ver number of this shopping order
1249            */
1250            public void setCcVerNumber(java.lang.String ccVerNumber) {
1251                    _shoppingOrder.setCcVerNumber(ccVerNumber);
1252            }
1253    
1254            /**
1255            * Returns the comments of this shopping order.
1256            *
1257            * @return the comments of this shopping order
1258            */
1259            public java.lang.String getComments() {
1260                    return _shoppingOrder.getComments();
1261            }
1262    
1263            /**
1264            * Sets the comments of this shopping order.
1265            *
1266            * @param comments the comments of this shopping order
1267            */
1268            public void setComments(java.lang.String comments) {
1269                    _shoppingOrder.setComments(comments);
1270            }
1271    
1272            /**
1273            * Returns the pp txn ID of this shopping order.
1274            *
1275            * @return the pp txn ID of this shopping order
1276            */
1277            public java.lang.String getPpTxnId() {
1278                    return _shoppingOrder.getPpTxnId();
1279            }
1280    
1281            /**
1282            * Sets the pp txn ID of this shopping order.
1283            *
1284            * @param ppTxnId the pp txn ID of this shopping order
1285            */
1286            public void setPpTxnId(java.lang.String ppTxnId) {
1287                    _shoppingOrder.setPpTxnId(ppTxnId);
1288            }
1289    
1290            /**
1291            * Returns the pp payment status of this shopping order.
1292            *
1293            * @return the pp payment status of this shopping order
1294            */
1295            public java.lang.String getPpPaymentStatus() {
1296                    return _shoppingOrder.getPpPaymentStatus();
1297            }
1298    
1299            /**
1300            * Sets the pp payment status of this shopping order.
1301            *
1302            * @param ppPaymentStatus the pp payment status of this shopping order
1303            */
1304            public void setPpPaymentStatus(java.lang.String ppPaymentStatus) {
1305                    _shoppingOrder.setPpPaymentStatus(ppPaymentStatus);
1306            }
1307    
1308            /**
1309            * Returns the pp payment gross of this shopping order.
1310            *
1311            * @return the pp payment gross of this shopping order
1312            */
1313            public double getPpPaymentGross() {
1314                    return _shoppingOrder.getPpPaymentGross();
1315            }
1316    
1317            /**
1318            * Sets the pp payment gross of this shopping order.
1319            *
1320            * @param ppPaymentGross the pp payment gross of this shopping order
1321            */
1322            public void setPpPaymentGross(double ppPaymentGross) {
1323                    _shoppingOrder.setPpPaymentGross(ppPaymentGross);
1324            }
1325    
1326            /**
1327            * Returns the pp receiver email of this shopping order.
1328            *
1329            * @return the pp receiver email of this shopping order
1330            */
1331            public java.lang.String getPpReceiverEmail() {
1332                    return _shoppingOrder.getPpReceiverEmail();
1333            }
1334    
1335            /**
1336            * Sets the pp receiver email of this shopping order.
1337            *
1338            * @param ppReceiverEmail the pp receiver email of this shopping order
1339            */
1340            public void setPpReceiverEmail(java.lang.String ppReceiverEmail) {
1341                    _shoppingOrder.setPpReceiverEmail(ppReceiverEmail);
1342            }
1343    
1344            /**
1345            * Returns the pp payer email of this shopping order.
1346            *
1347            * @return the pp payer email of this shopping order
1348            */
1349            public java.lang.String getPpPayerEmail() {
1350                    return _shoppingOrder.getPpPayerEmail();
1351            }
1352    
1353            /**
1354            * Sets the pp payer email of this shopping order.
1355            *
1356            * @param ppPayerEmail the pp payer email of this shopping order
1357            */
1358            public void setPpPayerEmail(java.lang.String ppPayerEmail) {
1359                    _shoppingOrder.setPpPayerEmail(ppPayerEmail);
1360            }
1361    
1362            /**
1363            * Returns the send order email of this shopping order.
1364            *
1365            * @return the send order email of this shopping order
1366            */
1367            public boolean getSendOrderEmail() {
1368                    return _shoppingOrder.getSendOrderEmail();
1369            }
1370    
1371            /**
1372            * Returns <code>true</code> if this shopping order is send order email.
1373            *
1374            * @return <code>true</code> if this shopping order is send order email; <code>false</code> otherwise
1375            */
1376            public boolean isSendOrderEmail() {
1377                    return _shoppingOrder.isSendOrderEmail();
1378            }
1379    
1380            /**
1381            * Sets whether this shopping order is send order email.
1382            *
1383            * @param sendOrderEmail the send order email of this shopping order
1384            */
1385            public void setSendOrderEmail(boolean sendOrderEmail) {
1386                    _shoppingOrder.setSendOrderEmail(sendOrderEmail);
1387            }
1388    
1389            /**
1390            * Returns the send shipping email of this shopping order.
1391            *
1392            * @return the send shipping email of this shopping order
1393            */
1394            public boolean getSendShippingEmail() {
1395                    return _shoppingOrder.getSendShippingEmail();
1396            }
1397    
1398            /**
1399            * Returns <code>true</code> if this shopping order is send shipping email.
1400            *
1401            * @return <code>true</code> if this shopping order is send shipping email; <code>false</code> otherwise
1402            */
1403            public boolean isSendShippingEmail() {
1404                    return _shoppingOrder.isSendShippingEmail();
1405            }
1406    
1407            /**
1408            * Sets whether this shopping order is send shipping email.
1409            *
1410            * @param sendShippingEmail the send shipping email of this shopping order
1411            */
1412            public void setSendShippingEmail(boolean sendShippingEmail) {
1413                    _shoppingOrder.setSendShippingEmail(sendShippingEmail);
1414            }
1415    
1416            public boolean isNew() {
1417                    return _shoppingOrder.isNew();
1418            }
1419    
1420            public void setNew(boolean n) {
1421                    _shoppingOrder.setNew(n);
1422            }
1423    
1424            public boolean isCachedModel() {
1425                    return _shoppingOrder.isCachedModel();
1426            }
1427    
1428            public void setCachedModel(boolean cachedModel) {
1429                    _shoppingOrder.setCachedModel(cachedModel);
1430            }
1431    
1432            public boolean isEscapedModel() {
1433                    return _shoppingOrder.isEscapedModel();
1434            }
1435    
1436            public java.io.Serializable getPrimaryKeyObj() {
1437                    return _shoppingOrder.getPrimaryKeyObj();
1438            }
1439    
1440            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1441                    _shoppingOrder.setPrimaryKeyObj(primaryKeyObj);
1442            }
1443    
1444            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1445                    return _shoppingOrder.getExpandoBridge();
1446            }
1447    
1448            public void setExpandoBridgeAttributes(
1449                    com.liferay.portal.service.ServiceContext serviceContext) {
1450                    _shoppingOrder.setExpandoBridgeAttributes(serviceContext);
1451            }
1452    
1453            @Override
1454            public java.lang.Object clone() {
1455                    return new ShoppingOrderWrapper((ShoppingOrder)_shoppingOrder.clone());
1456            }
1457    
1458            public int compareTo(
1459                    com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder) {
1460                    return _shoppingOrder.compareTo(shoppingOrder);
1461            }
1462    
1463            @Override
1464            public int hashCode() {
1465                    return _shoppingOrder.hashCode();
1466            }
1467    
1468            public com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingOrder> toCacheModel() {
1469                    return _shoppingOrder.toCacheModel();
1470            }
1471    
1472            public com.liferay.portlet.shopping.model.ShoppingOrder toEscapedModel() {
1473                    return new ShoppingOrderWrapper(_shoppingOrder.toEscapedModel());
1474            }
1475    
1476            public com.liferay.portlet.shopping.model.ShoppingOrder toUnescapedModel() {
1477                    return new ShoppingOrderWrapper(_shoppingOrder.toUnescapedModel());
1478            }
1479    
1480            @Override
1481            public java.lang.String toString() {
1482                    return _shoppingOrder.toString();
1483            }
1484    
1485            public java.lang.String toXmlString() {
1486                    return _shoppingOrder.toXmlString();
1487            }
1488    
1489            public void persist()
1490                    throws com.liferay.portal.kernel.exception.SystemException {
1491                    _shoppingOrder.persist();
1492            }
1493    
1494            @Override
1495            public boolean equals(Object obj) {
1496                    if (this == obj) {
1497                            return true;
1498                    }
1499    
1500                    if (!(obj instanceof ShoppingOrderWrapper)) {
1501                            return false;
1502                    }
1503    
1504                    ShoppingOrderWrapper shoppingOrderWrapper = (ShoppingOrderWrapper)obj;
1505    
1506                    if (Validator.equals(_shoppingOrder, shoppingOrderWrapper._shoppingOrder)) {
1507                            return true;
1508                    }
1509    
1510                    return false;
1511            }
1512    
1513            /**
1514             * @deprecated Renamed to {@link #getWrappedModel}
1515             */
1516            public ShoppingOrder getWrappedShoppingOrder() {
1517                    return _shoppingOrder;
1518            }
1519    
1520            public ShoppingOrder getWrappedModel() {
1521                    return _shoppingOrder;
1522            }
1523    
1524            public void resetOriginalValues() {
1525                    _shoppingOrder.resetOriginalValues();
1526            }
1527    
1528            private ShoppingOrder _shoppingOrder;
1529    }