001
014
015 package com.liferay.portlet.shopping.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Propagation;
022 import com.liferay.portal.kernel.transaction.Transactional;
023 import com.liferay.portal.service.BaseService;
024
025
038 @JSONWebService
039 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
040 PortalException.class, SystemException.class})
041 public interface ShoppingOrderService extends BaseService {
042
047
048
053 public java.lang.String getBeanIdentifier();
054
055
060 public void setBeanIdentifier(java.lang.String beanIdentifier);
061
062 public void completeOrder(long groupId, java.lang.String number,
063 java.lang.String ppTxnId, java.lang.String ppPaymentStatus,
064 double ppPaymentGross, java.lang.String ppReceiverEmail,
065 java.lang.String ppPayerEmail,
066 com.liferay.portal.service.ServiceContext serviceContext)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException;
069
070 public void deleteOrder(long groupId, long orderId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException;
073
074 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
075 public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
076 long groupId, long orderId)
077 throws com.liferay.portal.kernel.exception.PortalException,
078 com.liferay.portal.kernel.exception.SystemException;
079
080 public void sendEmail(long groupId, long orderId,
081 java.lang.String emailType,
082 com.liferay.portal.service.ServiceContext serviceContext)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException;
085
086 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
087 long groupId, long orderId, java.lang.String ppTxnId,
088 java.lang.String ppPaymentStatus, double ppPaymentGross,
089 java.lang.String ppReceiverEmail, java.lang.String ppPayerEmail)
090 throws com.liferay.portal.kernel.exception.PortalException,
091 com.liferay.portal.kernel.exception.SystemException;
092
093 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
094 long groupId, long orderId, java.lang.String billingFirstName,
095 java.lang.String billingLastName, java.lang.String billingEmailAddress,
096 java.lang.String billingCompany, java.lang.String billingStreet,
097 java.lang.String billingCity, java.lang.String billingState,
098 java.lang.String billingZip, java.lang.String billingCountry,
099 java.lang.String billingPhone, boolean shipToBilling,
100 java.lang.String shippingFirstName, java.lang.String shippingLastName,
101 java.lang.String shippingEmailAddress,
102 java.lang.String shippingCompany, java.lang.String shippingStreet,
103 java.lang.String shippingCity, java.lang.String shippingState,
104 java.lang.String shippingZip, java.lang.String shippingCountry,
105 java.lang.String shippingPhone, java.lang.String ccName,
106 java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
107 int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException;
110 }