Class BraintreeConfiguration
- java.lang.Object
-
- org.apache.camel.component.braintree.BraintreeConfiguration
-
- Direct Known Subclasses:
AddOnGatewayEndpointConfiguration,AddressGatewayEndpointConfiguration,ClientTokenGatewayEndpointConfiguration,CreditCardVerificationGatewayEndpointConfiguration,CustomerGatewayEndpointConfiguration,DiscountGatewayEndpointConfiguration,DisputeGatewayEndpointConfiguration,DocumentUploadGatewayEndpointConfiguration,MerchantAccountGatewayEndpointConfiguration,PaymentMethodGatewayEndpointConfiguration,PaymentMethodNonceGatewayEndpointConfiguration,PlanGatewayEndpointConfiguration,ReportGatewayEndpointConfiguration,SettlementBatchSummaryGatewayEndpointConfiguration,SubscriptionGatewayEndpointConfiguration,TransactionGatewayEndpointConfiguration,WebhookNotificationGatewayEndpointConfiguration
@UriParams public class BraintreeConfiguration extends Object
Component configuration for Braintree component.
-
-
Constructor Summary
Constructors Constructor Description BraintreeConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessToken()BraintreeApiNamegetApiName()StringgetEnvironment()LevelgetHttpLogLevel()StringgetHttpLogName()IntegergetHttpReadTimeout()StringgetMerchantId()StringgetMethodName()StringgetPrivateKey()StringgetProxyHost()IntegergetProxyPort()StringgetPublicKey()booleanisLogHandlerEnabled()voidsetAccessToken(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.LevelvoidsetHttpLogLevel(Level 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.
-
-
-
Method Detail
-
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 Level getHttpLogLevel()
-
setHttpLogLevel
public void setHttpLogLevel(String httpLogLevel)
Set logging level for http calls, @see java.util.logging.Level
-
setHttpLogLevel
public void setHttpLogLevel(Level 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.
-
-