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 intgetFailureReportingThreshold()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.StringgetGatewayType()Each payment module should have a unique implementation ofPaymentGatewayTypewith 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 ofTransactionTypesthat the gateway supports.voidsetFailureReportingThreshold(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: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.
- Specified by:
getFailureReportingThresholdin interfacePaymentGatewayConfiguration- See Also:
AbstractExternalPaymentGatewayCall
-
setFailureReportingThreshold
public void setFailureReportingThreshold(int failureReportingThreshold)
Description copied from interface: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.
- Specified by:
setFailureReportingThresholdin interfacePaymentGatewayConfiguration- See Also:
AbstractExternalPaymentGatewayCall
-
getSupportedTransactionTypes
public Set<String> getSupportedTransactionTypes()
Description copied from interface:PaymentGatewayConfigurationReturns the set ofTransactionTypesthat the gateway supports.- Specified by:
getSupportedTransactionTypesin interfacePaymentGatewayConfiguration- Returns:
- The set of
TransactionTypesthat the gateway supports. - See Also:
getSupportedTransactionTypes()
-
getSupportedFeatures
public Set<String> getSupportedFeatures()
Description copied from interface:PaymentGatewayConfigurationThe set of features this gateway supports such as 3D Secure, multi-use payment methods, and pay later.- Specified by:
getSupportedFeaturesin interfacePaymentGatewayConfiguration- Returns:
- The set of features this gateway supports.
- See Also:
getSupportedFeatures()
-
getGatewayType
public String getGatewayType()
Description copied from interface:PaymentGatewayTypeAwareEach payment module should have a unique implementation ofPaymentGatewayTypewith only a single type. For instance, the Braintree module would have a 'BraintreePaymentGatewayType' implementation which defines its gateway type key.- Specified by:
getGatewayTypein interfacePaymentGatewayTypeAware- Returns:
- The
PaymentGatewayTyperelated to implementing resource - See Also:
getGatewayType()
-
-