Class DefaultMyFatoorahGatewayConfiguration
java.lang.Object
com.broadleafcommerce.myfatoorah.service.DefaultMyFatoorahGatewayConfiguration
- All Implemented Interfaces:
MyFatoorahGatewayConfiguration
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
@ConfigurationProperties("broadleaf.myfatoorah.gateway")
public class DefaultMyFatoorahGatewayConfiguration
extends Object
implements MyFatoorahGatewayConfiguration
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Determines how many times a transaction failure is reported.The features supported by this gateway.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
-
DefaultMyFatoorahGatewayConfiguration
public DefaultMyFatoorahGatewayConfiguration()
-
-
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
The features supported by this gateway. Note that partial capture is supported but the rest of the funds will be refunded to the customer afterward—a new payment will need to be added to capture further funds.- Specified by:
getSupportedFeatures
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
- See Also:
-
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
- See Also:
-