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, wait
handlesAuthorize, handlesAuthorizeAndCapture, handlesCapture, handlesMultiplePayments, handlesMultipleShipment, handlesPartialCapture, handlesRecurringPayment, handlesRefund, handlesReverseAuthorize, handlesSavedCustomerPayment, handlesVoid, isPerformAuthorizeAndCapture, setPerformAuthorizeAndCapture
public int getFailureReportingThreshold()
PaymentGatewayConfiguration
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.
getFailureReportingThreshold
in interface PaymentGatewayConfiguration
AbstractExternalPaymentGatewayCall
public void setFailureReportingThreshold(int failureReportingThreshold)
PaymentGatewayConfiguration
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.
setFailureReportingThreshold
in interface PaymentGatewayConfiguration
AbstractExternalPaymentGatewayCall
public String getCheckoutTransactionType()
TransactionType
that should be performed during checkout. Typically this will
be DefaultTransactionTypes.AUTHORIZE_AND_CAPTURE
or
DefaultTransactionTypes.AUTHORIZE
.getCheckoutTransactionType
in interface PaymentGatewayConfiguration
TransactionType
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 PaymentGatewayConfiguration
checkoutTransactionType
- The TransactionType
that should be performed during
checkout.public Set<String> getSupportedTransactionTypes()
PaymentGatewayConfiguration
TransactionTypes
that the gateway supports.getSupportedTransactionTypes
in interface PaymentGatewayConfiguration
TransactionTypes
that the gateway supports.getSupportedTransactionTypes()
public Set<String> getSupportedFeatures()
PaymentGatewayConfiguration
getSupportedFeatures
in interface PaymentGatewayConfiguration
getSupportedFeatures()
public boolean isCheckoutTransactionExternal()
PaymentGatewayConfiguration
isCheckoutTransactionExternal
in interface PaymentGatewayConfiguration
isCheckoutTransactionExternal()
public String getGatewayType()
PaymentGatewayTypeAware
PaymentGatewayType
with
only a single type. For instance, the Braintree module would have a
'BraintreePaymentGatewayType' implementation which defines its gateway type key.getGatewayType
in interface PaymentGatewayTypeAware
PaymentGatewayType
related to implementing resourcegetGatewayType()
Copyright © 2021. All rights reserved.