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