Class DefaultAPSGatewayConfiguration
java.lang.Object
com.broadleafcommerce.payment.service.gateway.DefaultAPSGatewayConfiguration
- All Implemented Interfaces:
APSGatewayConfiguration
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
@ConfigurationProperties("broadleaf.amazonpaymentservices.gateway")
public class DefaultAPSGatewayConfiguration
extends Object
implements APSGatewayConfiguration
Default implementation of
PaymentGatewayConfiguration
. This supports authorizations,
captures, auth-and-captures, refunds, and reverse-authorizations.- Author:
- Nathan Moore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Determines how many times a transaction failure is reported.void
setFailureReportingThreshold
(int failureReportingThreshold) Determines how many times a transaction failure is reported.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
-
DefaultAPSGatewayConfiguration
public DefaultAPSGatewayConfiguration()
-
-
Method Details
-
getFailureReportingThreshold
public int getFailureReportingThreshold()Determines how many times a transaction failure is reported. Default is once.- Specified by:
getFailureReportingThreshold
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
-
setFailureReportingThreshold
public void setFailureReportingThreshold(int failureReportingThreshold) Determines how many times a transaction failure is reported. Default is once.- Specified by:
setFailureReportingThreshold
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
-
getSupportedTransactionTypes
- Specified by:
getSupportedTransactionTypes
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
- See Also:
-
getSupportedFeatures
- Specified by:
getSupportedFeatures
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
- See Also:
-
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
- See Also:
-