public class TestCommercePaymentMethod
extends java.lang.Object
implements com.liferay.commerce.payment.method.CommercePaymentMethod
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY |
| Constructor and Description |
|---|
TestCommercePaymentMethod() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
activateRecurringPayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest) |
boolean |
cancelRecurringPayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest) |
com.liferay.commerce.payment.result.CommercePaymentResult |
completePayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest) |
java.lang.String |
getDescription(java.util.Locale locale) |
java.lang.String |
getKey() |
java.lang.String |
getName(java.util.Locale locale) |
int |
getPaymentType() |
java.lang.String |
getServletPath() |
boolean |
isCancelRecurringEnabled() |
boolean |
isCompleteEnabled() |
boolean |
isProcessPaymentEnabled() |
boolean |
isProcessRecurringEnabled() |
com.liferay.commerce.payment.result.CommercePaymentResult |
processPayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest) |
boolean |
suspendRecurringPayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthorizePayment, cancelPayment, capturePayment, completeRecurringPayment, getOrderStatusUpdateMaxIntervalMinutes, getSubscriptionPaymentDetails, getSubscriptionValidity, isAuthorizeEnabled, isCancelEnabled, isCaptureEnabled, isCompleteRecurringEnabled, isPartialRefundEnabled, isPostProcessEnabled, isRefundEnabled, isVoidEnabled, partiallyRefundPayment, postProcessPayment, processRecurringPayment, refundPayment, voidTransactionpublic static final java.lang.String KEY
public boolean activateRecurringPayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest)
throws java.lang.Exception
activateRecurringPayment in interface com.liferay.commerce.payment.method.CommercePaymentMethodjava.lang.Exceptionpublic boolean cancelRecurringPayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest)
throws java.lang.Exception
cancelRecurringPayment in interface com.liferay.commerce.payment.method.CommercePaymentMethodjava.lang.Exceptionpublic com.liferay.commerce.payment.result.CommercePaymentResult completePayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest)
throws java.lang.Exception
completePayment in interface com.liferay.commerce.payment.method.CommercePaymentMethodjava.lang.Exceptionpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface com.liferay.commerce.payment.method.CommercePaymentMethodpublic java.lang.String getKey()
getKey in interface com.liferay.commerce.payment.method.CommercePaymentMethodpublic java.lang.String getName(java.util.Locale locale)
getName in interface com.liferay.commerce.payment.method.CommercePaymentMethodpublic int getPaymentType()
getPaymentType in interface com.liferay.commerce.payment.method.CommercePaymentMethodpublic java.lang.String getServletPath()
getServletPath in interface com.liferay.commerce.payment.method.CommercePaymentMethodpublic boolean isCancelRecurringEnabled()
isCancelRecurringEnabled in interface com.liferay.commerce.payment.method.CommercePaymentMethodpublic boolean isCompleteEnabled()
isCompleteEnabled in interface com.liferay.commerce.payment.method.CommercePaymentMethodpublic boolean isProcessPaymentEnabled()
isProcessPaymentEnabled in interface com.liferay.commerce.payment.method.CommercePaymentMethodpublic boolean isProcessRecurringEnabled()
isProcessRecurringEnabled in interface com.liferay.commerce.payment.method.CommercePaymentMethodpublic com.liferay.commerce.payment.result.CommercePaymentResult processPayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest)
throws java.lang.Exception
processPayment in interface com.liferay.commerce.payment.method.CommercePaymentMethodjava.lang.Exceptionpublic boolean suspendRecurringPayment(com.liferay.commerce.payment.request.CommercePaymentRequest commercePaymentRequest)
throws java.lang.Exception
suspendRecurringPayment in interface com.liferay.commerce.payment.method.CommercePaymentMethodjava.lang.Exception