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
Component configuration for Braintree component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAccessToken(String accessToken) The access token granted by a merchant to another in order to process transactions on their behalf.voidsetApiName(BraintreeApiName apiName) What kind of operation to performvoidsetEnvironment(String environment) The environment Either SANDBOX or PRODUCTIONvoidsetHttpLogLevel(String httpLogLevel) Set logging level for http calls, @see java.util.logging.LevelvoidsetHttpLogName(String httpLogName) Set log category to use to log http calls.voidsetHttpReadTimeout(Integer httpReadTimeout) Set read timeout for http calls.voidsetLogHandlerEnabled(boolean logHandlerEnabled) Sets whether to enable the BraintreeLogHandler.voidsetMerchantId(String merchantId) The merchant id provided by Braintree.voidsetMethodName(String methodName) What sub operation to use for the selected operationvoidsetPrivateKey(String privateKey) The private key provided by Braintree.voidsetProxyHost(String proxyHost) The proxy hostvoidsetProxyPort(Integer proxyPort) The proxy portvoidsetPublicKey(String publicKey) The public key provided by Braintree.
-
Constructor Details
-
BraintreeConfiguration
public BraintreeConfiguration()
-
-
Method Details
-
getApiName
-
setApiName
What kind of operation to perform -
getMethodName
-
setMethodName
What sub operation to use for the selected operation -
getEnvironment
-
setEnvironment
The environment Either SANDBOX or PRODUCTION -
getMerchantId
-
setMerchantId
The merchant id provided by Braintree. -
getPublicKey
-
setPublicKey
The public key provided by Braintree. -
getPrivateKey
-
setPrivateKey
The private key provided by Braintree. -
getAccessToken
-
setAccessToken
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
-
setProxyHost
The proxy host -
getProxyPort
-
setProxyPort
The proxy port -
getHttpLogLevel
-
setHttpLogLevel
Set logging level for http calls, @see java.util.logging.Level -
getHttpLogName
-
setHttpLogName
Set log category to use to log http calls. -
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
Set read timeout for http calls.
-