Class DefaultPassthroughConfiguration
- java.lang.Object
-
- com.broadleafcommerce.paymentgateway.service.passthrough.DefaultPassthroughConfiguration
-
- All Implemented Interfaces:
PassthroughConfiguration
,PaymentGatewayConfiguration
,PaymentGatewayTypeAware
public class DefaultPassthroughConfiguration extends Object implements PassthroughConfiguration
-
-
Constructor Summary
Constructors Constructor Description DefaultPassthroughConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 ofPaymentGatewayType
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 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
-
-
-
-
Method Detail
-
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:
AbstractExternalPaymentGatewayCall
-
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:
AbstractExternalPaymentGatewayCall
-
getSupportedTransactionTypes
public Set<String> 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:
getSupportedTransactionTypes()
-
getSupportedFeatures
public Set<String> 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:
getSupportedFeatures()
-
getGatewayType
public String 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:
getGatewayType()
-
-