public interface PaymentGatewayConfiguration extends PaymentGatewayTypeAware
This API is intended to define the specific configuration parameters that this gateway implementation currently supports.
Modifier and Type | Method and Description |
---|---|
default int |
getFailureReportingThreshold()
All payment gateway classes that intend to make an external call, either manually from an
HTTP Post or through an SDK which makes its own external call, should extend the
AbstractExternalPaymentGatewayCall class.
|
default boolean |
handlesAuthorize() |
default boolean |
handlesAuthorizeAndCapture() |
default boolean |
handlesCapture() |
default boolean |
handlesMultiplePayments()
Denotes whether or not this payment provider supports multiple payments on an order.
|
default boolean |
handlesMultipleShipment() |
default boolean |
handlesPartialCapture() |
default boolean |
handlesRecurringPayment() |
default boolean |
handlesRefund() |
default boolean |
handlesReverseAuthorize() |
default boolean |
handlesSavedCustomerPayment() |
default boolean |
handlesVoid() |
default boolean |
isPerformAuthorizeAndCapture()
Whether the 'AUTHORIZE AND CAPTURE' or 'AUTHORIZE' transaction type should be used for this
gateway.
|
void |
setFailureReportingThreshold(int failureReportingThreshold)
All payment gateway classes that intend to make an external call, either manually from an
HTTP Post or through an SDK which makes its own external call, should extend the
AbstractExternalPaymentGatewayCall class.
|
void |
setPerformAuthorizeAndCapture(boolean performAuthorizeAndCapture)
Whether the 'AUTHORIZE AND CAPTURE' or 'AUTHORIZE' transaction type should be used for this
gateway.
|
getGatewayType
default boolean isPerformAuthorizeAndCapture()
TransactionType
void setPerformAuthorizeAndCapture(boolean performAuthorizeAndCapture)
TransactionType
default int getFailureReportingThreshold()
All payment gateway classes that intend to make an external call, either manually from an HTTP Post or through an SDK which makes its own external call, should extend the AbstractExternalPaymentGatewayCall class. One of the configuration parameters is the failure reporting threshold.
AbstractExternalPaymentGatewayCall
void setFailureReportingThreshold(int failureReportingThreshold)
All payment gateway classes that intend to make an external call, either manually from an HTTP Post or through an SDK which makes its own external call, should extend the AbstractExternalPaymentGatewayCall class. One of the configuration parameters is the failure reporting threshold.
AbstractExternalPaymentGatewayCall
default boolean handlesAuthorize()
default boolean handlesCapture()
default boolean handlesAuthorizeAndCapture()
default boolean handlesReverseAuthorize()
default boolean handlesVoid()
default boolean handlesRefund()
default boolean handlesPartialCapture()
default boolean handlesMultipleShipment()
default boolean handlesRecurringPayment()
default boolean handlesSavedCustomerPayment()
default boolean handlesMultiplePayments()
Denotes whether or not this payment provider supports multiple payments on an order. For instance, a gift card provider might want to support multiple gift cards on a single order but a credit card provider may not support payment with multiple credit cards.
If a provider does not support multiple payments in an order then that means that all payments are deleted (archived) on an order whenever a new payment of that type is attempted to be added to the order.
PaymentGatewayCheckoutService
Copyright © 2021. All rights reserved.