public interface CommercePaymentEngine
Modifier and Type | Method and Description |
---|---|
CommercePaymentResult |
cancelPayment(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommercePaymentResult |
capturePayment(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommercePaymentResult |
completePayment(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
java.lang.String |
getCommerceOrderPaymentMethodName(CommerceOrder commerceOrder,
javax.servlet.http.HttpServletRequest httpServletRequest,
java.util.Locale locale) |
int |
getCommercePaymentMethodGroupRelsCount(long groupId) |
int |
getCommercePaymentMethodType(long commerceOrderId) |
java.util.List<CommercePaymentMethod> |
getEnabledCommercePaymentMethodsForOrder(long groupId,
long commerceOrderId) |
java.lang.String |
getPaymentMethodImageURL(long groupId,
java.lang.String paymentMethodKey,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.lang.String |
getPaymentMethodName(java.lang.String paymentMethodKey,
java.util.Locale locale) |
CommercePaymentResult |
partiallyRefundPayment(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommercePaymentResult |
postProcessPayment(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommercePaymentResult |
processPayment(long commerceOrderId,
java.lang.String nextUrl,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommercePaymentResult |
refundPayment(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommerceOrder |
updateOrderPaymentStatus(long commerceOrderId,
int paymentStatus,
java.lang.String transactionId,
java.lang.String result) |
CommercePaymentResult |
voidTransaction(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommercePaymentResult cancelPayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
CommercePaymentResult capturePayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
CommercePaymentResult completePayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
java.lang.String getCommerceOrderPaymentMethodName(CommerceOrder commerceOrder, javax.servlet.http.HttpServletRequest httpServletRequest, java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
int getCommercePaymentMethodGroupRelsCount(long groupId)
int getCommercePaymentMethodType(long commerceOrderId) throws java.lang.Exception
java.lang.Exception
java.util.List<CommercePaymentMethod> getEnabledCommercePaymentMethodsForOrder(long groupId, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getPaymentMethodImageURL(long groupId, java.lang.String paymentMethodKey, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getPaymentMethodName(java.lang.String paymentMethodKey, java.util.Locale locale)
CommercePaymentResult partiallyRefundPayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
CommercePaymentResult postProcessPayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
CommercePaymentResult processPayment(long commerceOrderId, java.lang.String nextUrl, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
CommercePaymentResult refundPayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
CommerceOrder updateOrderPaymentStatus(long commerceOrderId, int paymentStatus, java.lang.String transactionId, java.lang.String result) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommercePaymentResult voidTransaction(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception