Class BraintreeConfigurationProperties

java.lang.Object
com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<BraintreeConfigurationProperties>
com.broadleafcommerce.braintree.service.BraintreeConfigurationProperties

@ConfigurationProperties("broadleaf.braintree") public class BraintreeConfigurationProperties extends com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<BraintreeConfigurationProperties>
  • Constructor Details

    • BraintreeConfigurationProperties

      public BraintreeConfigurationProperties()
  • Method Details

    • getPublicKey

      public String getPublicKey(@Nullable String applicationId, @Nullable String tenantId)
    • getPrivateKey

      public String getPrivateKey(@Nullable String applicationId, @Nullable String tenantId)
    • getMerchantAccountId

      public String getMerchantAccountId(@Nullable String applicationId, @Nullable String tenantId)
    • getFailureType

      @Nullable public String getFailureType(@Nullable String errorClass)
    • setPublicKey

      public void setPublicKey(String publicKey)
      The Braintree public key for your Braintree SDK.
    • setPrivateKey

      public void setPrivateKey(String privateKey)
      The Braintree private key for your Braintree SDK.
    • setMerchantAccountId

      public void setMerchantAccountId(String merchantAccountId)
      The Braintree merchant account ID for your Braintree SDK.
    • setFailureTypesByErrorClass

      public void setFailureTypesByErrorClass(Map<String,String> failureTypesByErrorClass)
      Map of failure types identified by their Braintree response reason code.
      See Also: