public class DefaultPassthroughConfiguration extends Object implements PassthroughConfiguration
| Constructor and Description |
|---|
DefaultPassthroughConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCheckoutTransactionType()
Set the
TransactionType that should be performed during checkout. |
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.
|
String |
getGatewayType()
Each payment module should have a unique implementation of
PaymentGatewayType with
only a single type. |
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. |
boolean |
isCheckoutTransactionExternal()
Whether the checkout transaction occurs externally such as for transparent redirect or
MyFatoorah.
|
void |
setCheckoutTransactionType(String checkoutTransactionType)
Set the
TransactionType that should be performed during checkout. |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlesAuthorize, handlesAuthorizeAndCapture, handlesCapture, handlesMultiplePayments, handlesMultipleShipment, handlesPartialCapture, handlesRecurringPayment, handlesRefund, handlesReverseAuthorize, handlesSavedCustomerPayment, handlesVoid, isPerformAuthorizeAndCapture, setPerformAuthorizeAndCapturepublic int getFailureReportingThreshold()
PaymentGatewayConfigurationAll 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.
getFailureReportingThreshold in interface PaymentGatewayConfigurationAbstractExternalPaymentGatewayCallpublic void setFailureReportingThreshold(int failureReportingThreshold)
PaymentGatewayConfigurationAll 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.
setFailureReportingThreshold in interface PaymentGatewayConfigurationAbstractExternalPaymentGatewayCallpublic String getCheckoutTransactionType()
TransactionType that should be performed during checkout. Typically this will
be DefaultTransactionTypes.AUTHORIZE_AND_CAPTURE or
DefaultTransactionTypes.AUTHORIZE.getCheckoutTransactionType in interface PaymentGatewayConfigurationTransactionType that should be performed during checkout.public void setCheckoutTransactionType(String checkoutTransactionType)
TransactionType that should be performed during checkout. Typically this will
be DefaultTransactionTypes.AUTHORIZE_AND_CAPTURE or
DefaultTransactionTypes.AUTHORIZE.setCheckoutTransactionType in interface PaymentGatewayConfigurationcheckoutTransactionType - The TransactionType that should be performed during
checkout.public Set<String> getSupportedTransactionTypes()
PaymentGatewayConfigurationTransactionTypes that the gateway supports.getSupportedTransactionTypes in interface PaymentGatewayConfigurationTransactionTypes that the gateway supports.getSupportedTransactionTypes()public Set<String> getSupportedFeatures()
PaymentGatewayConfigurationgetSupportedFeatures in interface PaymentGatewayConfigurationgetSupportedFeatures()public boolean isCheckoutTransactionExternal()
PaymentGatewayConfigurationisCheckoutTransactionExternal in interface PaymentGatewayConfigurationisCheckoutTransactionExternal()public String getGatewayType()
PaymentGatewayTypeAwarePaymentGatewayType with
only a single type. For instance, the Braintree module would have a
'BraintreePaymentGatewayType' implementation which defines its gateway type key.getGatewayType in interface PaymentGatewayTypeAwarePaymentGatewayType related to implementing resourcegetGatewayType()Copyright © 2021. All rights reserved.