Class DefaultPassthroughConfiguration
java.lang.Object
com.broadleafcommerce.paymentgateway.service.passthrough.DefaultPassthroughConfiguration
- All Implemented Interfaces:
PassthroughConfiguration
,PaymentGatewayConfiguration
,PaymentGatewayTypeAware
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
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.Each payment module should have a unique implementation ofPaymentGatewayType
with only a single type.The set of features this gateway supports such as 3D Secure, multi-use payment methods, and pay later.Returns the set ofTransactionTypes
that the gateway supports.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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
handlesAuthorize, handlesAuthorizeAndCapture, handlesCapture, handlesMultiplePayments, handlesMultipleShipment, handlesPartialCapture, handlesRecurringPayment, handlesRefund, handlesReverseAuthorize, handlesSavedCustomerPayment
-
Constructor Details
-
DefaultPassthroughConfiguration
public DefaultPassthroughConfiguration()
-
-
Method Details
-
getFailureReportingThreshold
public int getFailureReportingThreshold()Description copied from interface: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.
- Specified by:
getFailureReportingThreshold
in interfacePaymentGatewayConfiguration
- See Also:
-
setFailureReportingThreshold
public void setFailureReportingThreshold(int failureReportingThreshold) Description copied from interface: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.
- Specified by:
setFailureReportingThreshold
in interfacePaymentGatewayConfiguration
- See Also:
-
getSupportedTransactionTypes
Description copied from interface:PaymentGatewayConfiguration
Returns the set ofTransactionTypes
that the gateway supports.- Specified by:
getSupportedTransactionTypes
in interfacePaymentGatewayConfiguration
- Returns:
- The set of
TransactionTypes
that the gateway supports. - See Also:
-
getSupportedFeatures
Description copied from interface:PaymentGatewayConfiguration
The set of features this gateway supports such as 3D Secure, multi-use payment methods, and pay later.- Specified by:
getSupportedFeatures
in interfacePaymentGatewayConfiguration
- Returns:
- The set of features this gateway supports.
- See Also:
-
getGatewayType
Description copied from interface:PaymentGatewayTypeAware
Each payment module should have a unique implementation ofPaymentGatewayType
with only a single type. For instance, the Braintree module would have a 'BraintreePaymentGatewayType' implementation which defines its gateway type key.- Specified by:
getGatewayType
in interfacePaymentGatewayTypeAware
- Returns:
- The
PaymentGatewayType
related to implementing resource - See Also:
-