Class DefaultStripeConfiguration

java.lang.Object
com.broadleafcommerce.payment.service.gateway.DefaultStripeConfiguration
All Implemented Interfaces:
StripeConfiguration, com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware

@ConfigurationProperties("broadleaf.stripe-checkout.gateway") public class DefaultStripeConfiguration extends Object implements StripeConfiguration
Default implementation of PaymentGatewayConfiguration. This supports authorizations, captures, auth-and-captures, refunds, reverse-authorizations, and voids.
Author:
Nathan Moore
  • Constructor Details

    • DefaultStripeConfiguration

      public DefaultStripeConfiguration()
  • Method Details

    • getFailureReportingThreshold

      public int getFailureReportingThreshold()
      Determines how many times a transaction failure is reported. Default is once.
      Specified by:
      getFailureReportingThreshold in interface com.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 interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
    • getSupportedTransactionTypes

      public Set<String> getSupportedTransactionTypes()
      Specified by:
      getSupportedTransactionTypes in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
      See Also:
    • getSupportedFeatures

      public Set<String> 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 interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
      See Also:
    • getGatewayType

      public String getGatewayType()
      Specified by:
      getGatewayType in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
      See Also: