Interface BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- BraintreeEndpointBuilderFactory
public static interface BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Braintree component.
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) The access token granted by a merchant to another in order to process transactions on their behalf.advanced()
environment
(String environment) The environment Either SANDBOX or PRODUCTION.httpLogLevel
(String httpLogLevel) Set logging level for http calls, see java.util.logging.Level.httpLogName
(String httpLogName) Set log category to use to log http calls.Sets the name of a parameter to be passed in the exchange In Body.logHandlerEnabled
(boolean logHandlerEnabled) Sets whether to enable the BraintreeLogHandler.logHandlerEnabled
(String logHandlerEnabled) Sets whether to enable the BraintreeLogHandler.merchantId
(String merchantId) The merchant id provided by Braintree.privateKey
(String privateKey) The private key provided by Braintree.The proxy host.The proxy port.The proxy port.The public key provided by Braintree.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
environment
The environment Either SANDBOX or PRODUCTION. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
environment
- the value to set- Returns:
- the dsl builder
-
inBody
Sets the name of a parameter to be passed in the exchange In Body. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
inBody
- the value to set- Returns:
- the dsl builder
-
merchantId
The merchant id provided by Braintree. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
merchantId
- the value to set- Returns:
- the dsl builder
-
httpLogLevel
Set logging level for http calls, see java.util.logging.Level. The option is a: <code>java.lang.String</code> type. Group: logging- Parameters:
httpLogLevel
- the value to set- Returns:
- the dsl builder
-
httpLogName
Set log category to use to log http calls. The option is a: <code>java.lang.String</code> type. Default: Braintree Group: logging- Parameters:
httpLogName
- the value to set- Returns:
- the dsl builder
-
logHandlerEnabled
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder logHandlerEnabled(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. The option is a: <code>boolean</code> type. Default: true Group: logging- Parameters:
logHandlerEnabled
- the value to set- Returns:
- the dsl builder
-
logHandlerEnabled
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder logHandlerEnabled(String 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. The option will be converted to a <code>boolean</code> type. Default: true Group: logging- Parameters:
logHandlerEnabled
- the value to set- Returns:
- the dsl builder
-
proxyHost
The proxy host. The option is a: <code>java.lang.String</code> type. Group: proxy- Parameters:
proxyHost
- the value to set- Returns:
- the dsl builder
-
proxyPort
The proxy port. The option is a: <code>java.lang.Integer</code> type. Group: proxy- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
proxyPort
The proxy port. The option will be converted to a <code>java.lang.Integer</code> type. Group: proxy- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
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. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
accessToken
- the value to set- Returns:
- the dsl builder
-
privateKey
The private key provided by Braintree. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
privateKey
- the value to set- Returns:
- the dsl builder
-
publicKey
The public key provided by Braintree. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
publicKey
- the value to set- Returns:
- the dsl builder
-