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 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            /**
423            * Returns the primary key of this shopping order.
424            *
425            * @return the primary key of this shopping order
426            */
427            @Override
428            public long getPrimaryKey() {
429                    return _shoppingOrder.getPrimaryKey();
430            }
431    
432            /**
433            * Sets the primary key of this shopping order.
434            *
435            * @param primaryKey the primary key of this shopping order
436            */
437            @Override
438            public void setPrimaryKey(long primaryKey) {
439                    _shoppingOrder.setPrimaryKey(primaryKey);
440            }
441    
442            /**
443            * Returns the order ID of this shopping order.
444            *
445            * @return the order ID of this shopping order
446            */
447            @Override
448            public long getOrderId() {
449                    return _shoppingOrder.getOrderId();
450            }
451    
452            /**
453            * Sets the order ID of this shopping order.
454            *
455            * @param orderId the order ID of this shopping order
456            */
457            @Override
458            public void setOrderId(long orderId) {
459                    _shoppingOrder.setOrderId(orderId);
460            }
461    
462            /**
463            * Returns the group ID of this shopping order.
464            *
465            * @return the group ID of this shopping order
466            */
467            @Override
468            public long getGroupId() {
469                    return _shoppingOrder.getGroupId();
470            }
471    
472            /**
473            * Sets the group ID of this shopping order.
474            *
475            * @param groupId the group ID of this shopping order
476            */
477            @Override
478            public void setGroupId(long groupId) {
479                    _shoppingOrder.setGroupId(groupId);
480            }
481    
482            /**
483            * Returns the company ID of this shopping order.
484            *
485            * @return the company ID of this shopping order
486            */
487            @Override
488            public long getCompanyId() {
489                    return _shoppingOrder.getCompanyId();
490            }
491    
492            /**
493            * Sets the company ID of this shopping order.
494            *
495            * @param companyId the company ID of this shopping order
496            */
497            @Override
498            public void setCompanyId(long companyId) {
499                    _shoppingOrder.setCompanyId(companyId);
500            }
501    
502            /**
503            * Returns the user ID of this shopping order.
504            *
505            * @return the user ID of this shopping order
506            */
507            @Override
508            public long getUserId() {
509                    return _shoppingOrder.getUserId();
510            }
511    
512            /**
513            * Sets the user ID of this shopping order.
514            *
515            * @param userId the user ID of this shopping order
516            */
517            @Override
518            public void setUserId(long userId) {
519                    _shoppingOrder.setUserId(userId);
520            }
521    
522            /**
523            * Returns the user uuid of this shopping order.
524            *
525            * @return the user uuid of this shopping order
526            * @throws SystemException if a system exception occurred
527            */
528            @Override
529            public java.lang.String getUserUuid()
530                    throws com.liferay.portal.kernel.exception.SystemException {
531                    return _shoppingOrder.getUserUuid();
532            }
533    
534            /**
535            * Sets the user uuid of this shopping order.
536            *
537            * @param userUuid the user uuid of this shopping order
538            */
539            @Override
540            public void setUserUuid(java.lang.String userUuid) {
541                    _shoppingOrder.setUserUuid(userUuid);
542            }
543    
544            /**
545            * Returns the user name of this shopping order.
546            *
547            * @return the user name of this shopping order
548            */
549            @Override
550            public java.lang.String getUserName() {
551                    return _shoppingOrder.getUserName();
552            }
553    
554            /**
555            * Sets the user name of this shopping order.
556            *
557            * @param userName the user name of this shopping order
558            */
559            @Override
560            public void setUserName(java.lang.String userName) {
561                    _shoppingOrder.setUserName(userName);
562            }
563    
564            /**
565            * Returns the create date of this shopping order.
566            *
567            * @return the create date of this shopping order
568            */
569            @Override
570            public java.util.Date getCreateDate() {
571                    return _shoppingOrder.getCreateDate();
572            }
573    
574            /**
575            * Sets the create date of this shopping order.
576            *
577            * @param createDate the create date of this shopping order
578            */
579            @Override
580            public void setCreateDate(java.util.Date createDate) {
581                    _shoppingOrder.setCreateDate(createDate);
582            }
583    
584            /**
585            * Returns the modified date of this shopping order.
586            *
587            * @return the modified date of this shopping order
588            */
589            @Override
590            public java.util.Date getModifiedDate() {
591                    return _shoppingOrder.getModifiedDate();
592            }
593    
594            /**
595            * Sets the modified date of this shopping order.
596            *
597            * @param modifiedDate the modified date of this shopping order
598            */
599            @Override
600            public void setModifiedDate(java.util.Date modifiedDate) {
601                    _shoppingOrder.setModifiedDate(modifiedDate);
602            }
603    
604            /**
605            * Returns the number of this shopping order.
606            *
607            * @return the number of this shopping order
608            */
609            @Override
610            public java.lang.String getNumber() {
611                    return _shoppingOrder.getNumber();
612            }
613    
614            /**
615            * Sets the number of this shopping order.
616            *
617            * @param number the number of this shopping order
618            */
619            @Override
620            public void setNumber(java.lang.String number) {
621                    _shoppingOrder.setNumber(number);
622            }
623    
624            /**
625            * Returns the tax of this shopping order.
626            *
627            * @return the tax of this shopping order
628            */
629            @Override
630            public double getTax() {
631                    return _shoppingOrder.getTax();
632            }
633    
634            /**
635            * Sets the tax of this shopping order.
636            *
637            * @param tax the tax of this shopping order
638            */
639            @Override
640            public void setTax(double tax) {
641                    _shoppingOrder.setTax(tax);
642            }
643    
644            /**
645            * Returns the shipping of this shopping order.
646            *
647            * @return the shipping of this shopping order
648            */
649            @Override
650            public double getShipping() {
651                    return _shoppingOrder.getShipping();
652            }
653    
654            /**
655            * Sets the shipping of this shopping order.
656            *
657            * @param shipping the shipping of this shopping order
658            */
659            @Override
660            public void setShipping(double shipping) {
661                    _shoppingOrder.setShipping(shipping);
662            }
663    
664            /**
665            * Returns the alt shipping of this shopping order.
666            *
667            * @return the alt shipping of this shopping order
668            */
669            @Override
670            public java.lang.String getAltShipping() {
671                    return _shoppingOrder.getAltShipping();
672            }
673    
674            /**
675            * Sets the alt shipping of this shopping order.
676            *
677            * @param altShipping the alt shipping of this shopping order
678            */
679            @Override
680            public void setAltShipping(java.lang.String altShipping) {
681                    _shoppingOrder.setAltShipping(altShipping);
682            }
683    
684            /**
685            * Returns the requires shipping of this shopping order.
686            *
687            * @return the requires shipping of this shopping order
688            */
689            @Override
690            public boolean getRequiresShipping() {
691                    return _shoppingOrder.getRequiresShipping();
692            }
693    
694            /**
695            * Returns <code>true</code> if this shopping order is requires shipping.
696            *
697            * @return <code>true</code> if this shopping order is requires shipping; <code>false</code> otherwise
698            */
699            @Override
700            public boolean isRequiresShipping() {
701                    return _shoppingOrder.isRequiresShipping();
702            }
703    
704            /**
705            * Sets whether this shopping order is requires shipping.
706            *
707            * @param requiresShipping the requires shipping of this shopping order
708            */
709            @Override
710            public void setRequiresShipping(boolean requiresShipping) {
711                    _shoppingOrder.setRequiresShipping(requiresShipping);
712            }
713    
714            /**
715            * Returns the insure of this shopping order.
716            *
717            * @return the insure of this shopping order
718            */
719            @Override
720            public boolean getInsure() {
721                    return _shoppingOrder.getInsure();
722            }
723    
724            /**
725            * Returns <code>true</code> if this shopping order is insure.
726            *
727            * @return <code>true</code> if this shopping order is insure; <code>false</code> otherwise
728            */
729            @Override
730            public boolean isInsure() {
731                    return _shoppingOrder.isInsure();
732            }
733    
734            /**
735            * Sets whether this shopping order is insure.
736            *
737            * @param insure the insure of this shopping order
738            */
739            @Override
740            public void setInsure(boolean insure) {
741                    _shoppingOrder.setInsure(insure);
742            }
743    
744            /**
745            * Returns the insurance of this shopping order.
746            *
747            * @return the insurance of this shopping order
748            */
749            @Override
750            public double getInsurance() {
751                    return _shoppingOrder.getInsurance();
752            }
753    
754            /**
755            * Sets the insurance of this shopping order.
756            *
757            * @param insurance the insurance of this shopping order
758            */
759            @Override
760            public void setInsurance(double insurance) {
761                    _shoppingOrder.setInsurance(insurance);
762            }
763    
764            /**
765            * Returns the coupon codes of this shopping order.
766            *
767            * @return the coupon codes of this shopping order
768            */
769            @Override
770            public java.lang.String getCouponCodes() {
771                    return _shoppingOrder.getCouponCodes();
772            }
773    
774            /**
775            * Sets the coupon codes of this shopping order.
776            *
777            * @param couponCodes the coupon codes of this shopping order
778            */
779            @Override
780            public void setCouponCodes(java.lang.String couponCodes) {
781                    _shoppingOrder.setCouponCodes(couponCodes);
782            }
783    
784            /**
785            * Returns the coupon discount of this shopping order.
786            *
787            * @return the coupon discount of this shopping order
788            */
789            @Override
790            public double getCouponDiscount() {
791                    return _shoppingOrder.getCouponDiscount();
792            }
793    
794            /**
795            * Sets the coupon discount of this shopping order.
796            *
797            * @param couponDiscount the coupon discount of this shopping order
798            */
799            @Override
800            public void setCouponDiscount(double couponDiscount) {
801                    _shoppingOrder.setCouponDiscount(couponDiscount);
802            }
803    
804            /**
805            * Returns the billing first name of this shopping order.
806            *
807            * @return the billing first name of this shopping order
808            */
809            @Override
810            public java.lang.String getBillingFirstName() {
811                    return _shoppingOrder.getBillingFirstName();
812            }
813    
814            /**
815            * Sets the billing first name of this shopping order.
816            *
817            * @param billingFirstName the billing first name of this shopping order
818            */
819            @Override
820            public void setBillingFirstName(java.lang.String billingFirstName) {
821                    _shoppingOrder.setBillingFirstName(billingFirstName);
822            }
823    
824            /**
825            * Returns the billing last name of this shopping order.
826            *
827            * @return the billing last name of this shopping order
828            */
829            @Override
830            public java.lang.String getBillingLastName() {
831                    return _shoppingOrder.getBillingLastName();
832            }
833    
834            /**
835            * Sets the billing last name of this shopping order.
836            *
837            * @param billingLastName the billing last name of this shopping order
838            */
839            @Override
840            public void setBillingLastName(java.lang.String billingLastName) {
841                    _shoppingOrder.setBillingLastName(billingLastName);
842            }
843    
844            /**
845            * Returns the billing email address of this shopping order.
846            *
847            * @return the billing email address of this shopping order
848            */
849            @Override
850            public java.lang.String getBillingEmailAddress() {
851                    return _shoppingOrder.getBillingEmailAddress();
852            }
853    
854            /**
855            * Sets the billing email address of this shopping order.
856            *
857            * @param billingEmailAddress the billing email address of this shopping order
858            */
859            @Override
860            public void setBillingEmailAddress(java.lang.String billingEmailAddress) {
861                    _shoppingOrder.setBillingEmailAddress(billingEmailAddress);
862            }
863    
864            /**
865            * Returns the billing company of this shopping order.
866            *
867            * @return the billing company of this shopping order
868            */
869            @Override
870            public java.lang.String getBillingCompany() {
871                    return _shoppingOrder.getBillingCompany();
872            }
873    
874            /**
875            * Sets the billing company of this shopping order.
876            *
877            * @param billingCompany the billing company of this shopping order
878            */
879            @Override
880            public void setBillingCompany(java.lang.String billingCompany) {
881                    _shoppingOrder.setBillingCompany(billingCompany);
882            }
883    
884            /**
885            * Returns the billing street of this shopping order.
886            *
887            * @return the billing street of this shopping order
888            */
889            @Override
890            public java.lang.String getBillingStreet() {
891                    return _shoppingOrder.getBillingStreet();
892            }
893    
894            /**
895            * Sets the billing street of this shopping order.
896            *
897            * @param billingStreet the billing street of this shopping order
898            */
899            @Override
900            public void setBillingStreet(java.lang.String billingStreet) {
901                    _shoppingOrder.setBillingStreet(billingStreet);
902            }
903    
904            /**
905            * Returns the billing city of this shopping order.
906            *
907            * @return the billing city of this shopping order
908            */
909            @Override
910            public java.lang.String getBillingCity() {
911                    return _shoppingOrder.getBillingCity();
912            }
913    
914            /**
915            * Sets the billing city of this shopping order.
916            *
917            * @param billingCity the billing city of this shopping order
918            */
919            @Override
920            public void setBillingCity(java.lang.String billingCity) {
921                    _shoppingOrder.setBillingCity(billingCity);
922            }
923    
924            /**
925            * Returns the billing state of this shopping order.
926            *
927            * @return the billing state of this shopping order
928            */
929            @Override
930            public java.lang.String getBillingState() {
931                    return _shoppingOrder.getBillingState();
932            }
933    
934            /**
935            * Sets the billing state of this shopping order.
936            *
937            * @param billingState the billing state of this shopping order
938            */
939            @Override
940            public void setBillingState(java.lang.String billingState) {
941                    _shoppingOrder.setBillingState(billingState);
942            }
943    
944            /**
945            * Returns the billing zip of this shopping order.
946            *
947            * @return the billing zip of this shopping order
948            */
949            @Override
950            public java.lang.String getBillingZip() {
951                    return _shoppingOrder.getBillingZip();
952            }
953    
954            /**
955            * Sets the billing zip of this shopping order.
956            *
957            * @param billingZip the billing zip of this shopping order
958            */
959            @Override
960            public void setBillingZip(java.lang.String billingZip) {
961                    _shoppingOrder.setBillingZip(billingZip);
962            }
963    
964            /**
965            * Returns the billing country of this shopping order.
966            *
967            * @return the billing country of this shopping order
968            */
969            @Override
970            public java.lang.String getBillingCountry() {
971                    return _shoppingOrder.getBillingCountry();
972            }
973    
974            /**
975            * Sets the billing country of this shopping order.
976            *
977            * @param billingCountry the billing country of this shopping order
978            */
979            @Override
980            public void setBillingCountry(java.lang.String billingCountry) {
981                    _shoppingOrder.setBillingCountry(billingCountry);
982            }
983    
984            /**
985            * Returns the billing phone of this shopping order.
986            *
987            * @return the billing phone of this shopping order
988            */
989            @Override
990            public java.lang.String getBillingPhone() {
991                    return _shoppingOrder.getBillingPhone();
992            }
993    
994            /**
995            * Sets the billing phone of this shopping order.
996            *
997            * @param billingPhone the billing phone of this shopping order
998            */
999            @Override
1000            public void setBillingPhone(java.lang.String billingPhone) {
1001                    _shoppingOrder.setBillingPhone(billingPhone);
1002            }
1003    
1004            /**
1005            * Returns the ship to billing of this shopping order.
1006            *
1007            * @return the ship to billing of this shopping order
1008            */
1009            @Override
1010            public boolean getShipToBilling() {
1011                    return _shoppingOrder.getShipToBilling();
1012            }
1013    
1014            /**
1015            * Returns <code>true</code> if this shopping order is ship to billing.
1016            *
1017            * @return <code>true</code> if this shopping order is ship to billing; <code>false</code> otherwise
1018            */
1019            @Override
1020            public boolean isShipToBilling() {
1021                    return _shoppingOrder.isShipToBilling();
1022            }
1023    
1024            /**
1025            * Sets whether this shopping order is ship to billing.
1026            *
1027            * @param shipToBilling the ship to billing of this shopping order
1028            */
1029            @Override
1030            public void setShipToBilling(boolean shipToBilling) {
1031                    _shoppingOrder.setShipToBilling(shipToBilling);
1032            }
1033    
1034            /**
1035            * Returns the shipping first name of this shopping order.
1036            *
1037            * @return the shipping first name of this shopping order
1038            */
1039            @Override
1040            public java.lang.String getShippingFirstName() {
1041                    return _shoppingOrder.getShippingFirstName();
1042            }
1043    
1044            /**
1045            * Sets the shipping first name of this shopping order.
1046            *
1047            * @param shippingFirstName the shipping first name of this shopping order
1048            */
1049            @Override
1050            public void setShippingFirstName(java.lang.String shippingFirstName) {
1051                    _shoppingOrder.setShippingFirstName(shippingFirstName);
1052            }
1053    
1054            /**
1055            * Returns the shipping last name of this shopping order.
1056            *
1057            * @return the shipping last name of this shopping order
1058            */
1059            @Override
1060            public java.lang.String getShippingLastName() {
1061                    return _shoppingOrder.getShippingLastName();
1062            }
1063    
1064            /**
1065            * Sets the shipping last name of this shopping order.
1066            *
1067            * @param shippingLastName the shipping last name of this shopping order
1068            */
1069            @Override
1070            public void setShippingLastName(java.lang.String shippingLastName) {
1071                    _shoppingOrder.setShippingLastName(shippingLastName);
1072            }
1073    
1074            /**
1075            * Returns the shipping email address of this shopping order.
1076            *
1077            * @return the shipping email address of this shopping order
1078            */
1079            @Override
1080            public java.lang.String getShippingEmailAddress() {
1081                    return _shoppingOrder.getShippingEmailAddress();
1082            }
1083    
1084            /**
1085            * Sets the shipping email address of this shopping order.
1086            *
1087            * @param shippingEmailAddress the shipping email address of this shopping order
1088            */
1089            @Override
1090            public void setShippingEmailAddress(java.lang.String shippingEmailAddress) {
1091                    _shoppingOrder.setShippingEmailAddress(shippingEmailAddress);
1092            }
1093    
1094            /**
1095            * Returns the shipping company of this shopping order.
1096            *
1097            * @return the shipping company of this shopping order
1098            */
1099            @Override
1100            public java.lang.String getShippingCompany() {
1101                    return _shoppingOrder.getShippingCompany();
1102            }
1103    
1104            /**
1105            * Sets the shipping company of this shopping order.
1106            *
1107            * @param shippingCompany the shipping company of this shopping order
1108            */
1109            @Override
1110            public void setShippingCompany(java.lang.String shippingCompany) {
1111                    _shoppingOrder.setShippingCompany(shippingCompany);
1112            }
1113    
1114            /**
1115            * Returns the shipping street of this shopping order.
1116            *
1117            * @return the shipping street of this shopping order
1118            */
1119            @Override
1120            public java.lang.String getShippingStreet() {
1121                    return _shoppingOrder.getShippingStreet();
1122            }
1123    
1124            /**
1125            * Sets the shipping street of this shopping order.
1126            *
1127            * @param shippingStreet the shipping street of this shopping order
1128            */
1129            @Override
1130            public void setShippingStreet(java.lang.String shippingStreet) {
1131                    _shoppingOrder.setShippingStreet(shippingStreet);
1132            }
1133    
1134            /**
1135            * Returns the shipping city of this shopping order.
1136            *
1137            * @return the shipping city of this shopping order
1138            */
1139            @Override
1140            public java.lang.String getShippingCity() {
1141                    return _shoppingOrder.getShippingCity();
1142            }
1143    
1144            /**
1145            * Sets the shipping city of this shopping order.
1146            *
1147            * @param shippingCity the shipping city of this shopping order
1148            */
1149            @Override
1150            public void setShippingCity(java.lang.String shippingCity) {
1151                    _shoppingOrder.setShippingCity(shippingCity);
1152            }
1153    
1154            /**
1155            * Returns the shipping state of this shopping order.
1156            *
1157            * @return the shipping state of this shopping order
1158            */
1159            @Override
1160            public java.lang.String getShippingState() {
1161                    return _shoppingOrder.getShippingState();
1162            }
1163    
1164            /**
1165            * Sets the shipping state of this shopping order.
1166            *
1167            * @param shippingState the shipping state of this shopping order
1168            */
1169            @Override
1170            public void setShippingState(java.lang.String shippingState) {
1171                    _shoppingOrder.setShippingState(shippingState);
1172            }
1173    
1174            /**
1175            * Returns the shipping zip of this shopping order.
1176            *
1177            * @return the shipping zip of this shopping order
1178            */
1179            @Override
1180            public java.lang.String getShippingZip() {
1181                    return _shoppingOrder.getShippingZip();
1182            }
1183    
1184            /**
1185            * Sets the shipping zip of this shopping order.
1186            *
1187            * @param shippingZip the shipping zip of this shopping order
1188            */
1189            @Override
1190            public void setShippingZip(java.lang.String shippingZip) {
1191                    _shoppingOrder.setShippingZip(shippingZip);
1192            }
1193    
1194            /**
1195            * Returns the shipping country of this shopping order.
1196            *
1197            * @return the shipping country of this shopping order
1198            */
1199            @Override
1200            public java.lang.String getShippingCountry() {
1201                    return _shoppingOrder.getShippingCountry();
1202            }
1203    
1204            /**
1205            * Sets the shipping country of this shopping order.
1206            *
1207            * @param shippingCountry the shipping country of this shopping order
1208            */
1209            @Override
1210            public void setShippingCountry(java.lang.String shippingCountry) {
1211                    _shoppingOrder.setShippingCountry(shippingCountry);
1212            }
1213    
1214            /**
1215            * Returns the shipping phone of this shopping order.
1216            *
1217            * @return the shipping phone of this shopping order
1218            */
1219            @Override
1220            public java.lang.String getShippingPhone() {
1221                    return _shoppingOrder.getShippingPhone();
1222            }
1223    
1224            /**
1225            * Sets the shipping phone of this shopping order.
1226            *
1227            * @param shippingPhone the shipping phone of this shopping order
1228            */
1229            @Override
1230            public void setShippingPhone(java.lang.String shippingPhone) {
1231                    _shoppingOrder.setShippingPhone(shippingPhone);
1232            }
1233    
1234            /**
1235            * Returns the cc name of this shopping order.
1236            *
1237            * @return the cc name of this shopping order
1238            */
1239            @Override
1240            public java.lang.String getCcName() {
1241                    return _shoppingOrder.getCcName();
1242            }
1243    
1244            /**
1245            * Sets the cc name of this shopping order.
1246            *
1247            * @param ccName the cc name of this shopping order
1248            */
1249            @Override
1250            public void setCcName(java.lang.String ccName) {
1251                    _shoppingOrder.setCcName(ccName);
1252            }
1253    
1254            /**
1255            * Returns the cc type of this shopping order.
1256            *
1257            * @return the cc type of this shopping order
1258            */
1259            @Override
1260            public java.lang.String getCcType() {
1261                    return _shoppingOrder.getCcType();
1262            }
1263    
1264            /**
1265            * Sets the cc type of this shopping order.
1266            *
1267            * @param ccType the cc type of this shopping order
1268            */
1269            @Override
1270            public void setCcType(java.lang.String ccType) {
1271                    _shoppingOrder.setCcType(ccType);
1272            }
1273    
1274            /**
1275            * Returns the cc number of this shopping order.
1276            *
1277            * @return the cc number of this shopping order
1278            */
1279            @Override
1280            public java.lang.String getCcNumber() {
1281                    return _shoppingOrder.getCcNumber();
1282            }
1283    
1284            /**
1285            * Sets the cc number of this shopping order.
1286            *
1287            * @param ccNumber the cc number of this shopping order
1288            */
1289            @Override
1290            public void setCcNumber(java.lang.String ccNumber) {
1291                    _shoppingOrder.setCcNumber(ccNumber);
1292            }
1293    
1294            /**
1295            * Returns the cc exp month of this shopping order.
1296            *
1297            * @return the cc exp month of this shopping order
1298            */
1299            @Override
1300            public int getCcExpMonth() {
1301                    return _shoppingOrder.getCcExpMonth();
1302            }
1303    
1304            /**
1305            * Sets the cc exp month of this shopping order.
1306            *
1307            * @param ccExpMonth the cc exp month of this shopping order
1308            */
1309            @Override
1310            public void setCcExpMonth(int ccExpMonth) {
1311                    _shoppingOrder.setCcExpMonth(ccExpMonth);
1312            }
1313    
1314            /**
1315            * Returns the cc exp year of this shopping order.
1316            *
1317            * @return the cc exp year of this shopping order
1318            */
1319            @Override
1320            public int getCcExpYear() {
1321                    return _shoppingOrder.getCcExpYear();
1322            }
1323    
1324            /**
1325            * Sets the cc exp year of this shopping order.
1326            *
1327            * @param ccExpYear the cc exp year of this shopping order
1328            */
1329            @Override
1330            public void setCcExpYear(int ccExpYear) {
1331                    _shoppingOrder.setCcExpYear(ccExpYear);
1332            }
1333    
1334            /**
1335            * Returns the cc ver number of this shopping order.
1336            *
1337            * @return the cc ver number of this shopping order
1338            */
1339            @Override
1340            public java.lang.String getCcVerNumber() {
1341                    return _shoppingOrder.getCcVerNumber();
1342            }
1343    
1344            /**
1345            * Sets the cc ver number of this shopping order.
1346            *
1347            * @param ccVerNumber the cc ver number of this shopping order
1348            */
1349            @Override
1350            public void setCcVerNumber(java.lang.String ccVerNumber) {
1351                    _shoppingOrder.setCcVerNumber(ccVerNumber);
1352            }
1353    
1354            /**
1355            * Returns the comments of this shopping order.
1356            *
1357            * @return the comments of this shopping order
1358            */
1359            @Override
1360            public java.lang.String getComments() {
1361                    return _shoppingOrder.getComments();
1362            }
1363    
1364            /**
1365            * Sets the comments of this shopping order.
1366            *
1367            * @param comments the comments of this shopping order
1368            */
1369            @Override
1370            public void setComments(java.lang.String comments) {
1371                    _shoppingOrder.setComments(comments);
1372            }
1373    
1374            /**
1375            * Returns the pp txn ID of this shopping order.
1376            *
1377            * @return the pp txn ID of this shopping order
1378            */
1379            @Override
1380            public java.lang.String getPpTxnId() {
1381                    return _shoppingOrder.getPpTxnId();
1382            }
1383    
1384            /**
1385            * Sets the pp txn ID of this shopping order.
1386            *
1387            * @param ppTxnId the pp txn ID of this shopping order
1388            */
1389            @Override
1390            public void setPpTxnId(java.lang.String ppTxnId) {
1391                    _shoppingOrder.setPpTxnId(ppTxnId);
1392            }
1393    
1394            /**
1395            * Returns the pp payment status of this shopping order.
1396            *
1397            * @return the pp payment status of this shopping order
1398            */
1399            @Override
1400            public java.lang.String getPpPaymentStatus() {
1401                    return _shoppingOrder.getPpPaymentStatus();
1402            }
1403    
1404            /**
1405            * Sets the pp payment status of this shopping order.
1406            *
1407            * @param ppPaymentStatus the pp payment status of this shopping order
1408            */
1409            @Override
1410            public void setPpPaymentStatus(java.lang.String ppPaymentStatus) {
1411                    _shoppingOrder.setPpPaymentStatus(ppPaymentStatus);
1412            }
1413    
1414            /**
1415            * Returns the pp payment gross of this shopping order.
1416            *
1417            * @return the pp payment gross of this shopping order
1418            */
1419            @Override
1420            public double getPpPaymentGross() {
1421                    return _shoppingOrder.getPpPaymentGross();
1422            }
1423    
1424            /**
1425            * Sets the pp payment gross of this shopping order.
1426            *
1427            * @param ppPaymentGross the pp payment gross of this shopping order
1428            */
1429            @Override
1430            public void setPpPaymentGross(double ppPaymentGross) {
1431                    _shoppingOrder.setPpPaymentGross(ppPaymentGross);
1432            }
1433    
1434            /**
1435            * Returns the pp receiver email of this shopping order.
1436            *
1437            * @return the pp receiver email of this shopping order
1438            */
1439            @Override
1440            public java.lang.String getPpReceiverEmail() {
1441                    return _shoppingOrder.getPpReceiverEmail();
1442            }
1443    
1444            /**
1445            * Sets the pp receiver email of this shopping order.
1446            *
1447            * @param ppReceiverEmail the pp receiver email of this shopping order
1448            */
1449            @Override
1450            public void setPpReceiverEmail(java.lang.String ppReceiverEmail) {
1451                    _shoppingOrder.setPpReceiverEmail(ppReceiverEmail);
1452            }
1453    
1454            /**
1455            * Returns the pp payer email of this shopping order.
1456            *
1457            * @return the pp payer email of this shopping order
1458            */
1459            @Override
1460            public java.lang.String getPpPayerEmail() {
1461                    return _shoppingOrder.getPpPayerEmail();
1462            }
1463    
1464            /**
1465            * Sets the pp payer email of this shopping order.
1466            *
1467            * @param ppPayerEmail the pp payer email of this shopping order
1468            */
1469            @Override
1470            public void setPpPayerEmail(java.lang.String ppPayerEmail) {
1471                    _shoppingOrder.setPpPayerEmail(ppPayerEmail);
1472            }
1473    
1474            /**
1475            * Returns the send order email of this shopping order.
1476            *
1477            * @return the send order email of this shopping order
1478            */
1479            @Override
1480            public boolean getSendOrderEmail() {
1481                    return _shoppingOrder.getSendOrderEmail();
1482            }
1483    
1484            /**
1485            * Returns <code>true</code> if this shopping order is send order email.
1486            *
1487            * @return <code>true</code> if this shopping order is send order email; <code>false</code> otherwise
1488            */
1489            @Override
1490            public boolean isSendOrderEmail() {
1491                    return _shoppingOrder.isSendOrderEmail();
1492            }
1493    
1494            /**
1495            * Sets whether this shopping order is send order email.
1496            *
1497            * @param sendOrderEmail the send order email of this shopping order
1498            */
1499            @Override
1500            public void setSendOrderEmail(boolean sendOrderEmail) {
1501                    _shoppingOrder.setSendOrderEmail(sendOrderEmail);
1502            }
1503    
1504            /**
1505            * Returns the send shipping email of this shopping order.
1506            *
1507            * @return the send shipping email of this shopping order
1508            */
1509            @Override
1510            public boolean getSendShippingEmail() {
1511                    return _shoppingOrder.getSendShippingEmail();
1512            }
1513    
1514            /**
1515            * Returns <code>true</code> if this shopping order is send shipping email.
1516            *
1517            * @return <code>true</code> if this shopping order is send shipping email; <code>false</code> otherwise
1518            */
1519            @Override
1520            public boolean isSendShippingEmail() {
1521                    return _shoppingOrder.isSendShippingEmail();
1522            }
1523    
1524            /**
1525            * Sets whether this shopping order is send shipping email.
1526            *
1527            * @param sendShippingEmail the send shipping email of this shopping order
1528            */
1529            @Override
1530            public void setSendShippingEmail(boolean sendShippingEmail) {
1531                    _shoppingOrder.setSendShippingEmail(sendShippingEmail);
1532            }
1533    
1534            @Override
1535            public boolean isNew() {
1536                    return _shoppingOrder.isNew();
1537            }
1538    
1539            @Override
1540            public void setNew(boolean n) {
1541                    _shoppingOrder.setNew(n);
1542            }
1543    
1544            @Override
1545            public boolean isCachedModel() {
1546                    return _shoppingOrder.isCachedModel();
1547            }
1548    
1549            @Override
1550            public void setCachedModel(boolean cachedModel) {
1551                    _shoppingOrder.setCachedModel(cachedModel);
1552            }
1553    
1554            @Override
1555            public boolean isEscapedModel() {
1556                    return _shoppingOrder.isEscapedModel();
1557            }
1558    
1559            @Override
1560            public java.io.Serializable getPrimaryKeyObj() {
1561                    return _shoppingOrder.getPrimaryKeyObj();
1562            }
1563    
1564            @Override
1565            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1566                    _shoppingOrder.setPrimaryKeyObj(primaryKeyObj);
1567            }
1568    
1569            @Override
1570            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1571                    return _shoppingOrder.getExpandoBridge();
1572            }
1573    
1574            @Override
1575            public void setExpandoBridgeAttributes(
1576                    com.liferay.portal.model.BaseModel<?> baseModel) {
1577                    _shoppingOrder.setExpandoBridgeAttributes(baseModel);
1578            }
1579    
1580            @Override
1581            public void setExpandoBridgeAttributes(
1582                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
1583                    _shoppingOrder.setExpandoBridgeAttributes(expandoBridge);
1584            }
1585    
1586            @Override
1587            public void setExpandoBridgeAttributes(
1588                    com.liferay.portal.service.ServiceContext serviceContext) {
1589                    _shoppingOrder.setExpandoBridgeAttributes(serviceContext);
1590            }
1591    
1592            @Override
1593            public java.lang.Object clone() {
1594                    return new ShoppingOrderWrapper((ShoppingOrder)_shoppingOrder.clone());
1595            }
1596    
1597            @Override
1598            public int compareTo(
1599                    com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder) {
1600                    return _shoppingOrder.compareTo(shoppingOrder);
1601            }
1602    
1603            @Override
1604            public int hashCode() {
1605                    return _shoppingOrder.hashCode();
1606            }
1607    
1608            @Override
1609            public com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingOrder> toCacheModel() {
1610                    return _shoppingOrder.toCacheModel();
1611            }
1612    
1613            @Override
1614            public com.liferay.portlet.shopping.model.ShoppingOrder toEscapedModel() {
1615                    return new ShoppingOrderWrapper(_shoppingOrder.toEscapedModel());
1616            }
1617    
1618            @Override
1619            public com.liferay.portlet.shopping.model.ShoppingOrder toUnescapedModel() {
1620                    return new ShoppingOrderWrapper(_shoppingOrder.toUnescapedModel());
1621            }
1622    
1623            @Override
1624            public java.lang.String toString() {
1625                    return _shoppingOrder.toString();
1626            }
1627    
1628            @Override
1629            public java.lang.String toXmlString() {
1630                    return _shoppingOrder.toXmlString();
1631            }
1632    
1633            @Override
1634            public void persist()
1635                    throws com.liferay.portal.kernel.exception.SystemException {
1636                    _shoppingOrder.persist();
1637            }
1638    
1639            @Override
1640            public boolean equals(Object obj) {
1641                    if (this == obj) {
1642                            return true;
1643                    }
1644    
1645                    if (!(obj instanceof ShoppingOrderWrapper)) {
1646                            return false;
1647                    }
1648    
1649                    ShoppingOrderWrapper shoppingOrderWrapper = (ShoppingOrderWrapper)obj;
1650    
1651                    if (Validator.equals(_shoppingOrder, shoppingOrderWrapper._shoppingOrder)) {
1652                            return true;
1653                    }
1654    
1655                    return false;
1656            }
1657    
1658            /**
1659             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
1660             */
1661            public ShoppingOrder getWrappedShoppingOrder() {
1662                    return _shoppingOrder;
1663            }
1664    
1665            @Override
1666            public ShoppingOrder getWrappedModel() {
1667                    return _shoppingOrder;
1668            }
1669    
1670            @Override
1671            public void resetOriginalValues() {
1672                    _shoppingOrder.resetOriginalValues();
1673            }
1674    
1675            private ShoppingOrder _shoppingOrder;
1676    }