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