Class TransactionGatewayEndpointConfiguration
java.lang.Object
org.apache.camel.component.braintree.BraintreeConfiguration
org.apache.camel.component.braintree.TransactionGatewayEndpointConfiguration
@ApiParams(apiName="transaction",description="Provides methods to interact with Transactions",apiMethods={@ApiMethod(methodName="adjustAuthorization",description="Submits the transaction with the given id to be adjusted for the given amount which must be less than or equal to the authorization amount",signatures={"com.braintreegateway.Result<com.braintreegateway.Transaction> adjustAuthorization(String id, java.math.BigDecimal amount)","com.braintreegateway.Result<com.braintreegateway.Transaction> adjustAuthorization(String id, com.braintreegateway.TransactionRequest request)"}),@ApiMethod(methodName="cancelRelease",description="Cancels a pending release of a transaction with the given id from escrow",signatures="com.braintreegateway.Result<com.braintreegateway.Transaction> cancelRelease(String id)"),@ApiMethod(methodName="cloneTransaction",signatures="com.braintreegateway.Result<com.braintreegateway.Transaction> cloneTransaction(String id, com.braintreegateway.TransactionCloneRequest request)"),@ApiMethod(methodName="credit",description="Creates a credit Transaction",signatures="com.braintreegateway.Result<com.braintreegateway.Transaction> credit(com.braintreegateway.TransactionRequest request)"),@ApiMethod(methodName="find",description="Finds a Transaction by id",signatures="com.braintreegateway.Transaction find(String id)"),@ApiMethod(methodName="holdInEscrow",description="Holds the transaction with the given id for escrow",signatures="com.braintreegateway.Result<com.braintreegateway.Transaction> holdInEscrow(String id)"),@ApiMethod(methodName="refund",description="Refunds all or part of a previous sale Transaction",signatures={"com.braintreegateway.Result<com.braintreegateway.Transaction> refund(String id)","com.braintreegateway.Result<com.braintreegateway.Transaction> refund(String id, java.math.BigDecimal amount)","com.braintreegateway.Result<com.braintreegateway.Transaction> refund(String id, com.braintreegateway.TransactionRefundRequest request)"}),@ApiMethod(methodName="releaseFromEscrow",description="Submits the transaction with the given id for release",signatures="com.braintreegateway.Result<com.braintreegateway.Transaction> releaseFromEscrow(String id)"),@ApiMethod(methodName="sale",description="Creates a sale Transaction",signatures="com.braintreegateway.Result<com.braintreegateway.Transaction> sale(com.braintreegateway.TransactionRequest request)"),@ApiMethod(methodName="search",description="Finds all Transactions that match the query and returns a ResourceCollection",signatures="com.braintreegateway.ResourceCollection<com.braintreegateway.Transaction> search(com.braintreegateway.TransactionSearchRequest query)"),@ApiMethod(methodName="submitForPartialSettlement",description="Submits a partial settlement transaction for the given id",signatures={"com.braintreegateway.Result<com.braintreegateway.Transaction> submitForPartialSettlement(String id, java.math.BigDecimal amount)","com.braintreegateway.Result<com.braintreegateway.Transaction> submitForPartialSettlement(String id, com.braintreegateway.TransactionRequest request)"}),@ApiMethod(methodName="submitForSettlement",description="Submits the transaction with the given id to be settled along with a TransactionRequest object",signatures={"com.braintreegateway.Result<com.braintreegateway.Transaction> submitForSettlement(String id)","com.braintreegateway.Result<com.braintreegateway.Transaction> submitForSettlement(String id, java.math.BigDecimal amount)","com.braintreegateway.Result<com.braintreegateway.Transaction> submitForSettlement(String id, com.braintreegateway.TransactionRequest request)"}),@ApiMethod(methodName="updateCustomFields",description="Updates custom field values for a given transaction",signatures="com.braintreegateway.Result<com.braintreegateway.Transaction> updateCustomFields(String id, com.braintreegateway.TransactionRequest request)"),@ApiMethod(methodName="updateDetails",description="Updates details for a transaction that has been submitted for settlement",signatures="com.braintreegateway.Result<com.braintreegateway.Transaction> updateDetails(String id, com.braintreegateway.TransactionRequest request)"),@ApiMethod(methodName="voidTransaction",description="Voids the transaction with the given id",signatures="com.braintreegateway.Result<com.braintreegateway.Transaction> voidTransaction(String id)")},aliases={})
@UriParams
@Configurer(extended=true)
public final class TransactionGatewayEndpointConfiguration
extends BraintreeConfiguration
Camel endpoint configuration for
TransactionGateway.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.braintreegateway.TransactionCloneRequestgetId()com.braintreegateway.TransactionSearchRequestgetQuery()com.braintreegateway.TransactionRefundRequestcom.braintreegateway.TransactionRequestvoidsetAmount(BigDecimal amount) voidsetCloneRequest(com.braintreegateway.TransactionCloneRequest cloneRequest) voidvoidsetQuery(com.braintreegateway.TransactionSearchRequest query) voidsetRefundRequest(com.braintreegateway.TransactionRefundRequest refundRequest) voidsetRequest(com.braintreegateway.TransactionRequest request) Methods inherited from class org.apache.camel.component.braintree.BraintreeConfiguration
getAccessToken, getApiName, getEnvironment, getHttpLogLevel, getHttpLogName, getHttpReadTimeout, getMerchantId, getMethodName, getPrivateKey, getProxyHost, getProxyPort, getPublicKey, isLogHandlerEnabled, setAccessToken, setApiName, setEnvironment, setHttpLogLevel, setHttpLogName, setHttpReadTimeout, setLogHandlerEnabled, setMerchantId, setMethodName, setPrivateKey, setProxyHost, setProxyPort, setPublicKey
-
Constructor Details
-
TransactionGatewayEndpointConfiguration
public TransactionGatewayEndpointConfiguration()
-
-
Method Details
-
getAmount
-
setAmount
-
getCloneRequest
public com.braintreegateway.TransactionCloneRequest getCloneRequest() -
setCloneRequest
public void setCloneRequest(com.braintreegateway.TransactionCloneRequest cloneRequest) -
getId
-
setId
-
getQuery
public com.braintreegateway.TransactionSearchRequest getQuery() -
setQuery
public void setQuery(com.braintreegateway.TransactionSearchRequest query) -
getRefundRequest
public com.braintreegateway.TransactionRefundRequest getRefundRequest() -
setRefundRequest
public void setRefundRequest(com.braintreegateway.TransactionRefundRequest refundRequest) -
getRequest
public com.braintreegateway.TransactionRequest getRequest() -
setRequest
public void setRequest(com.braintreegateway.TransactionRequest request)
-