@ProviderType
public interface CommercePaymentEngine
| Modifier and Type | Method and Description |
|---|---|
CommercePaymentResult |
cancelPayment(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommercePaymentResult |
cancelRecurringPayment(long commerceOrderId)
Deprecated.
As of Mueller (7.2.x), this method is being moved to Subscription Engine
|
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) |
CommercePaymentResult |
completeRecurringPayment(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest)
Deprecated.
As of Mueller (7.2.x), this method is being moved to Subscription Engine
|
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 commerceOrderId)
Deprecated.
As of Mueller (7.2.x), this method is being replaced
|
java.util.List<CommercePaymentMethod> |
getEnabledCommercePaymentMethodsForOrder(long groupId,
long commerceOrderId) |
int |
getOrderStatusUpdateMaxIntervalMinutes(long commerceOrderId)
Deprecated.
As of Mueller (7.2.x), this method will be removed
|
java.lang.String |
getPaymentMethodImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.lang.String paymentMethodKey) |
java.lang.String |
getPaymentMethodName(java.lang.String paymentMethodKey,
java.util.Locale locale) |
CommerceSubscriptionStatusResult |
getSubscriptionPaymentDetails(long commerceOrderId)
Deprecated.
As of Mueller (7.2.x), this method will be removed
|
CommercePaymentResult |
partiallyRefundPayment(long commerceOrderId) |
CommercePaymentResult |
postProcessPayment(long commerceOrderId) |
CommercePaymentResult |
processPayment(long commerceOrderId,
java.lang.String nextUrl,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommercePaymentResult |
processRecurringPayment(long commerceOrderId,
java.lang.String nextUrl,
javax.servlet.http.HttpServletRequest httpServletRequest)
Deprecated.
As of Mueller (7.2.x), this method is being moved to Subscription Engine
|
CommercePaymentResult |
refundPayment(long commerceOrderId,
java.lang.String transactionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
CommercePaymentResult |
startPayment(long commerceOrderId,
java.lang.String checkoutStepUrl,
javax.servlet.http.HttpServletRequest httpServletRequest) |
boolean |
suspendSubscription(long commerceSubscriptionEntryId)
Deprecated.
As of Mueller (7.2.x), this method is being moved to Subscription Engine
|
CommerceOrder |
updateOrderPaymentStatus(long commerceOrderId,
int paymentStatus,
java.lang.String transactionId) |
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@Deprecated CommercePaymentResult cancelRecurringPayment(long commerceOrderId)
commerceOrderId - CommercePaymentResult capturePayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.ExceptionCommercePaymentResult completePayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception@Deprecated CommercePaymentResult completeRecurringPayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
commerceOrderId - transactionId - httpServletRequest - java.lang.Exceptionjava.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.PortalExceptionint getCommercePaymentMethodGroupRelsCount(long groupId)
int getCommercePaymentMethodType(long commerceOrderId)
throws java.lang.Exception
java.lang.Exception@Deprecated java.util.List<CommercePaymentMethod> getEnabledCommercePaymentMethodsForOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
commerceOrderId - com.liferay.portal.kernel.exception.PortalExceptionjava.util.List<CommercePaymentMethod> getEnabledCommercePaymentMethodsForOrder(long groupId, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Deprecated
int getOrderStatusUpdateMaxIntervalMinutes(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
commerceOrderId - com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getPaymentMethodImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.lang.String paymentMethodKey)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getPaymentMethodName(java.lang.String paymentMethodKey,
java.util.Locale locale)
@Deprecated CommerceSubscriptionStatusResult getSubscriptionPaymentDetails(long commerceOrderId) throws java.lang.Exception
commerceOrderId - java.lang.ExceptionCommercePaymentResult partiallyRefundPayment(long commerceOrderId)
CommercePaymentResult postProcessPayment(long commerceOrderId) throws java.lang.Exception
java.lang.ExceptionCommercePaymentResult processPayment(long commerceOrderId, java.lang.String nextUrl, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception@Deprecated CommercePaymentResult processRecurringPayment(long commerceOrderId, java.lang.String nextUrl, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
commerceOrderId - nextUrl - httpServletRequest - java.lang.ExceptionCommercePaymentResult refundPayment(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.ExceptionCommercePaymentResult startPayment(long commerceOrderId, java.lang.String checkoutStepUrl, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception@Deprecated
boolean suspendSubscription(long commerceSubscriptionEntryId)
throws java.lang.Exception
commerceSubscriptionEntryId - java.lang.ExceptionCommerceOrder updateOrderPaymentStatus(long commerceOrderId, int paymentStatus, java.lang.String transactionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommercePaymentResult voidTransaction(long commerceOrderId, java.lang.String transactionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception