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 |
---|---|
String |
getCheckoutTransactionType()
Returns the
TransactionType that should be performed during checkout. |
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.
|
Set<String> |
getSupportedFeatures()
The set of features this gateway supports such as 3D Secure, multi-use payment methods, and
pay later.
|
Set<String> |
getSupportedTransactionTypes()
Returns the set of
TransactionTypes that the gateway supports. |
default boolean |
handlesAuthorize() |
default boolean |
handlesAuthorizeAndCapture() |
default boolean |
handlesCapture() |
default boolean |
handlesMultiplePayments()
Deprecated.
This is not relevant for the gateways
|
default boolean |
handlesMultipleShipment()
Deprecated.
This is not relevant for gateways
|
default boolean |
handlesPartialCapture() |
default boolean |
handlesRecurringPayment() |
default boolean |
handlesRefund() |
default boolean |
handlesReverseAuthorize() |
default boolean |
handlesSavedCustomerPayment() |
default boolean |
handlesVoid() |
boolean |
isCheckoutTransactionExternal()
Whether the checkout transaction occurs externally such as for transparent redirect or
MyFatoorah.
|
default boolean |
isPerformAuthorizeAndCapture()
Deprecated.
Check
getCheckoutTransactionType() . The value is not necessarily
restricted to only DefaultTransactionTypes.AUTHORIZE_AND_CAPTURE or
DefaultTransactionTypes.AUTHORIZE . |
void |
setCheckoutTransactionType(String checkoutTransactionType)
Set the
TransactionType that should be performed during checkout. |
default 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.
|
default void |
setPerformAuthorizeAndCapture(boolean performAuthorizeAndCapture)
Deprecated.
|
getGatewayType
Set<String> getSupportedTransactionTypes()
TransactionTypes
that the gateway supports.TransactionTypes
that the gateway supports.Set<String> getSupportedFeatures()
DefaultGatewayFeatureType
String getCheckoutTransactionType()
TransactionType
that should be performed during checkout. Typically this
will be DefaultTransactionTypes.AUTHORIZE_AND_CAPTURE
or
DefaultTransactionTypes.AUTHORIZE
.TransactionType
that should be performed during checkout.void setCheckoutTransactionType(String checkoutTransactionType)
TransactionType
that should be performed during checkout. Typically this will
be DefaultTransactionTypes.AUTHORIZE_AND_CAPTURE
or
DefaultTransactionTypes.AUTHORIZE
.checkoutTransactionType
- The TransactionType
that should be performed during
checkout.boolean isCheckoutTransactionExternal()
@Deprecated default boolean isPerformAuthorizeAndCapture()
getCheckoutTransactionType()
. The value is not necessarily
restricted to only DefaultTransactionTypes.AUTHORIZE_AND_CAPTURE
or
DefaultTransactionTypes.AUTHORIZE
.TransactionType
@Deprecated default void setPerformAuthorizeAndCapture(boolean performAuthorizeAndCapture)
setCheckoutTransactionType(String)
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
default 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 handlesRecurringPayment()
default boolean handlesSavedCustomerPayment()
@Deprecated default boolean handlesMultipleShipment()
@Deprecated 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.
Copyright © 2021. All rights reserved.