Interface CommercePaymentMethod
public interface CommercePaymentMethod
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
activateRecurringPayment
(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResult
authorizePayment
(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResult
cancelPayment
(CommercePaymentRequest commercePaymentRequest) default boolean
cancelRecurringPayment
(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResult
capturePayment
(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResult
completePayment
(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResult
completeRecurringPayment
(CommercePaymentRequest commercePaymentRequest) getDescription
(Locale locale) getKey()
default int
Deprecated.As of Mueller (7.2.x), this method will be removedint
default CommerceSubscriptionStatusResult
getSubscriptionPaymentDetails
(CommercePaymentRequest commercePaymentRequest) default boolean
getSubscriptionValidity
(CommercePaymentRequest commercePaymentRequest) default boolean
default boolean
default boolean
default boolean
default boolean
default boolean
default boolean
default boolean
default boolean
default boolean
default boolean
default boolean
default CommercePaymentResult
partiallyRefundPayment
(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResult
default CommercePaymentResult
processPayment
(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResult
processRecurringPayment
(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResult
refundPayment
(CommercePaymentRequest commercePaymentRequest) default boolean
suspendRecurringPayment
(CommercePaymentRequest commercePaymentRequest) default CommercePaymentResult
voidTransaction
(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
-