001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.shopping.service;
022:
023: /**
024: * <a href="ShoppingOrderService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portlet.shopping.service.impl.ShoppingOrderServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.shopping.service.ShoppingOrderServiceFactory
045: * @see com.liferay.portlet.shopping.service.ShoppingOrderServiceUtil
046: *
047: */
048: public interface ShoppingOrderService {
049: public void completeOrder(long plid, java.lang.String number,
050: java.lang.String ppTxnId, java.lang.String ppPaymentStatus,
051: double ppPaymentGross, java.lang.String ppReceiverEmail,
052: java.lang.String ppPayerEmail)
053: throws java.rmi.RemoteException,
054: com.liferay.portal.SystemException,
055: com.liferay.portal.PortalException;
056:
057: public void deleteOrder(long plid, long orderId)
058: throws java.rmi.RemoteException,
059: com.liferay.portal.SystemException,
060: com.liferay.portal.PortalException;
061:
062: public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
063: long plid, long orderId) throws java.rmi.RemoteException,
064: com.liferay.portal.SystemException,
065: com.liferay.portal.PortalException;
066:
067: public void sendEmail(long plid, long orderId,
068: java.lang.String emailType)
069: throws java.rmi.RemoteException,
070: com.liferay.portal.SystemException,
071: com.liferay.portal.PortalException;
072:
073: public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
074: long plid, long orderId, java.lang.String billingFirstName,
075: java.lang.String billingLastName,
076: java.lang.String billingEmailAddress,
077: java.lang.String billingCompany,
078: java.lang.String billingStreet,
079: java.lang.String billingCity,
080: java.lang.String billingState, java.lang.String billingZip,
081: java.lang.String billingCountry,
082: java.lang.String billingPhone, boolean shipToBilling,
083: java.lang.String shippingFirstName,
084: java.lang.String shippingLastName,
085: java.lang.String shippingEmailAddress,
086: java.lang.String shippingCompany,
087: java.lang.String shippingStreet,
088: java.lang.String shippingCity,
089: java.lang.String shippingState,
090: java.lang.String shippingZip,
091: java.lang.String shippingCountry,
092: java.lang.String shippingPhone, java.lang.String ccName,
093: java.lang.String ccType, java.lang.String ccNumber,
094: int ccExpMonth, int ccExpYear,
095: java.lang.String ccVerNumber, java.lang.String comments)
096: throws java.rmi.RemoteException,
097: com.liferay.portal.SystemException,
098: com.liferay.portal.PortalException;
099:
100: public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
101: long plid, long orderId, java.lang.String ppTxnId,
102: java.lang.String ppPaymentStatus, double ppPaymentGross,
103: java.lang.String ppReceiverEmail,
104: java.lang.String ppPayerEmail)
105: throws java.rmi.RemoteException,
106: com.liferay.portal.SystemException,
107: com.liferay.portal.PortalException;
108: }
|