Interface CommercePaymentMethod
public interface CommercePaymentMethod
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanactivateRecurringPayment(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResultauthorizePayment(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResultcancelPayment(CommercePaymentRequest commercePaymentRequest) default booleancancelRecurringPayment(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResultcapturePayment(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResultcompletePayment(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResultcompleteRecurringPayment(CommercePaymentRequest commercePaymentRequest) getDescription(Locale locale) getKey()default intDeprecated.As of Mueller (7.2.x), this method will be removedintdefault CommerceSubscriptionStatusResultgetSubscriptionPaymentDetails(CommercePaymentRequest commercePaymentRequest) default booleangetSubscriptionValidity(CommercePaymentRequest commercePaymentRequest) default booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault CommercePaymentResultpartiallyRefundPayment(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResultdefault CommercePaymentResultprocessPayment(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResultprocessRecurringPayment(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResultrefundPayment(CommercePaymentRequest commercePaymentRequest) default booleansuspendRecurringPayment(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResultvoidTransaction(CommercePaymentRequest commercePaymentRequest)
-
Method Details
-
activateRecurringPayment
default boolean activateRecurringPayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
authorizePayment
default CommercePaymentResult authorizePayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
cancelPayment
default CommercePaymentResult cancelPayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
cancelRecurringPayment
default boolean cancelRecurringPayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
capturePayment
default CommercePaymentResult capturePayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
completePayment
default CommercePaymentResult completePayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
completeRecurringPayment
default CommercePaymentResult completeRecurringPayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
getDescription
-
getKey
String getKey() -
getName
-
getOrderStatusUpdateMaxIntervalMinutes
Deprecated.As of Mueller (7.2.x), this method will be removed -
getPaymentType
int getPaymentType() -
getServletPath
String getServletPath() -
getSubscriptionPaymentDetails
default CommerceSubscriptionStatusResult getSubscriptionPaymentDetails(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
getSubscriptionValidity
default boolean getSubscriptionValidity(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
isAuthorizeEnabled
default boolean isAuthorizeEnabled() -
isCancelEnabled
default boolean isCancelEnabled() -
isCancelRecurringEnabled
default boolean isCancelRecurringEnabled() -
isCaptureEnabled
default boolean isCaptureEnabled() -
isCompleteEnabled
default boolean isCompleteEnabled() -
isCompleteRecurringEnabled
default boolean isCompleteRecurringEnabled() -
isPartialRefundEnabled
default boolean isPartialRefundEnabled() -
isPostProcessEnabled
default boolean isPostProcessEnabled() -
isProcessPaymentEnabled
default boolean isProcessPaymentEnabled() -
isProcessRecurringEnabled
default boolean isProcessRecurringEnabled() -
isRefundEnabled
default boolean isRefundEnabled() -
isVoidEnabled
default boolean isVoidEnabled() -
partiallyRefundPayment
default CommercePaymentResult partiallyRefundPayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
postProcessPayment
- Throws:
Exception
-
processPayment
default CommercePaymentResult processPayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
processRecurringPayment
default CommercePaymentResult processRecurringPayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
refundPayment
default CommercePaymentResult refundPayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
suspendRecurringPayment
default boolean suspendRecurringPayment(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-
voidTransaction
default CommercePaymentResult voidTransaction(CommercePaymentRequest commercePaymentRequest) throws Exception - Throws:
Exception
-