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