Class BraintreeConfiguration

java.lang.Object
org.apache.camel.component.braintree.BraintreeConfiguration
Direct Known Subclasses:
AddOnGatewayEndpointConfiguration, AddressGatewayEndpointConfiguration, ClientTokenGatewayEndpointConfiguration, CreditCardVerificationGatewayEndpointConfiguration, CustomerGatewayEndpointConfiguration, DiscountGatewayEndpointConfiguration, DisputeGatewayEndpointConfiguration, DocumentUploadGatewayEndpointConfiguration, MerchantAccountGatewayEndpointConfiguration, OAuthGatewayEndpointConfiguration, PaymentMethodGatewayEndpointConfiguration, PaymentMethodNonceGatewayEndpointConfiguration, PlanGatewayEndpointConfiguration, ReportGatewayEndpointConfiguration, SettlementBatchSummaryGatewayEndpointConfiguration, SubscriptionGatewayEndpointConfiguration, TransactionGatewayEndpointConfiguration, UsBankAccountGatewayEndpointConfiguration, WebhookNotificationGatewayEndpointConfiguration

@UriParams @Configurer(extended=true) public class BraintreeConfiguration extends Object
Component configuration for Braintree component.
  • Constructor Details

    • BraintreeConfiguration

      public BraintreeConfiguration()
  • Method Details

    • getApiName

      public BraintreeApiName getApiName()
    • setApiName

      public void setApiName(BraintreeApiName apiName)
      What kind of operation to perform
    • getMethodName

      public String getMethodName()
    • setMethodName

      public void setMethodName(String methodName)
      What sub operation to use for the selected operation
    • getEnvironment

      public String getEnvironment()
    • setEnvironment

      public void setEnvironment(String environment)
      The environment Either SANDBOX or PRODUCTION
    • getMerchantId

      public String getMerchantId()
    • setMerchantId

      public void setMerchantId(String merchantId)
      The merchant id provided by Braintree.
    • getPublicKey

      public String getPublicKey()
    • setPublicKey

      public void setPublicKey(String publicKey)
      The public key provided by Braintree.
    • getPrivateKey

      public String getPrivateKey()
    • setPrivateKey

      public void setPrivateKey(String privateKey)
      The private key provided by Braintree.
    • getAccessToken

      public String getAccessToken()
    • setAccessToken

      public void setAccessToken(String accessToken)
      The access token granted by a merchant to another in order to process transactions on their behalf. Used in place of environment, merchant id, public key and private key fields.
    • getProxyHost

      public String getProxyHost()
    • setProxyHost

      public void setProxyHost(String proxyHost)
      The proxy host
    • getProxyPort

      public Integer getProxyPort()
    • setProxyPort

      public void setProxyPort(Integer proxyPort)
      The proxy port
    • getHttpLogLevel

      public String getHttpLogLevel()
    • setHttpLogLevel

      public void setHttpLogLevel(String httpLogLevel)
      Set logging level for http calls, @see java.util.logging.Level
    • getHttpLogName

      public String getHttpLogName()
    • setHttpLogName

      public void setHttpLogName(String httpLogName)
      Set log category to use to log http calls.
    • getHttpReadTimeout

      public Integer getHttpReadTimeout()
    • setLogHandlerEnabled

      public void setLogHandlerEnabled(boolean logHandlerEnabled)
      Sets whether to enable the BraintreeLogHandler. It may be desirable to set this to 'false' where an existing JUL - SLF4J logger bridge is on the classpath. This option can also be configured globally on the BraintreeComponent.
    • isLogHandlerEnabled

      public boolean isLogHandlerEnabled()
    • setHttpReadTimeout

      public void setHttpReadTimeout(Integer httpReadTimeout)
      Set read timeout for http calls.