Author: buildbot Date: Mon Apr 18 14:18:37 2016 New Revision: 985999 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/braintree.html websites/production/camel/content/cache/main.pageCache Modified: websites/production/camel/content/braintree.html ============================================================================== --- websites/production/camel/content/braintree.html (original) +++ websites/production/camel/content/braintree.html Mon Apr 18 14:18:37 2016 @@ -85,12 +85,14 @@ <tbody> <tr> <td valign="top" width="100%"> -<div class="wiki-content maincontent"><h2 id="Braintree-BraintreeComponent">Braintree Component</h2><p><strong>Available as of Camel 2.17</strong></p><p>The Braintree component provides access to <a shape="rect" class="external-link" href="https://www.braintreepayments.com/" rel="nofollow">Braintree Payments</a> trough through theirs <a shape="rect" class="external-link" href="https://developers.braintreepayments.com/start/hello-server/java" rel="nofollow">Java SDK</a>.</p><p>All client applications need API credential in order to process payments. In order to use camel-braintree with your account, you'll need to create a new <a shape="rect" class="external-link" href="https://www.braintreepayments.com/get-started" rel="nofollow">Sandbox</a> or <a shape="rect" class="external-link" href="https://www.braintreepayments.com/signup" rel="nofollow">Production</a> account.</p><p> </p><p>Maven users will need to add the following dependency to their pom.xml fo r this component:</p><div><div class="syntaxhighlighter nogutter java"><p> </p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<div class="wiki-content maincontent"><h2 id="Braintree-BraintreeComponent">Braintree Component</h2><p><strong>Available as of Camel 2.17</strong></p><p>The Braintree component provides access to <a shape="rect" class="external-link" href="https://www.braintreepayments.com/" rel="nofollow">Braintree Payments</a> services which support the following payment methods:</p><ul><li><a shape="rect" class="external-link" href="https://www.braintreepayments.com/payment-methods/accept-credit-cards" rel="nofollow">Credit and debit card</a></li><li><a shape="rect" class="external-link" href="https://www.braintreepayments.com/payment-methods/accept-apple-pay" rel="nofollow">Apple Pay</a></li><li><a shape="rect" class="external-link" href="https://www.braintreepayments.com/payment-methods/accept-android-pay" rel="nofollow">Android Pay</a></li><li><a shape="rect" class="external-link" href="https://www.braintreepayments.com/payment-methods/accept-venmo" rel="nofollow">Venmo</a></li><li><a shape="r ect" class="external-link" href="https://www.braintreepayments.com/payment-methods/accept-paypal" rel="nofollow">PayPal</a></li><li><a shape="rect" class="external-link" href="https://www.braintreepayments.com/payment-methods/accept-bitcoin" rel="nofollow">Bitcoin (beta)</a></li></ul><p>In order to use camel-braintree you need to provide some <a shape="rect" class="external-link" href="https://articles.braintreepayments.com/control-panel/important-gateway-credentials" rel="nofollow">API credentials</a> you can obtains from your account (<a shape="rect" class="external-link" href="https://www.braintreepayments.com/get-started" rel="nofollow">Sandbox</a> or <a shape="rect" class="external-link" href="https://www.braintreepayments.com/signup" rel="nofollow">Production</a>)</p><p>Maven users will need to add the following dependency to their pom.xml for this component:</p><div><div class="syntaxhighlighter nogutter java"><p> </p><div class="code panel pdl" style="border-w idth: 1px;"><div class="codeContent panelContent pdl"> <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-braintree</artifactId> - <version>${camel-version}</version> -</dependency>]]></script> + <version>x.x.x</version> + <!-- use the same version as your Camel core version --> +</dependency> +]]></script> </div></div><p> </p></div></div><h3 id="Braintree-URIformat">URI format</h3><div><div class="syntaxhighlighter nogutter java"><p> </p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[linkedin://endpoint-prefix/endpoint?[options]]]></script> </div></div><p> </p></div></div><p>Endpoint prefix can be one of:</p><ul><li>addOn</li><li>address</li><li>clientToken</li><li>creditCardverification</li><li>customer</li><li>discount</li><li>merchantAccount</li><li>paymentmethod</li><li>paymentmethodNonce</li><li>plan</li><li>settlementBatchSummary</li><li>subscription</li><li>transaction</li><li>webhookNotification</li></ul><p> </p><h3 id="Braintree-BraintreeComponent.1">BraintreeComponent</h3><p>The Braintree Component can be configured with the options below. These options can be provided using the component's bean property <strong>configuration</strong> of type <strong>org.apache.camel.component.braintree.BraintreeConfiguration</strong>.</p><div class="table-wrap"><table class="confluenceTable"><thead><tr><th colspan="1" rowspan="1" class="confluenceTh"><div class="tablesorter-header-inner">Option</div></th><th colspan="1" rowspan="1" class="confluenceTh"><div class="tablesorter-header-inner">Type</div> </th><th colspan="1" rowspan="1" class="confluenceTh"><div class="tablesorter-header-inner">Description</div></th></tr></thead><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd">environment</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">value that specifies where requests should be directed – sandbox or production</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">merchantId</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">a unique identifier for your gateway account, which is different than your merchant account ID</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">publicKey</td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td colspan="1" rowspan="1" class="confluenceTd">user-specific public identifier</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">privateKey</td><td colspan= "1" rowspan="1" class="confluenceTd"><span>String</span></td><td colspan="1" rowspan="1" class="confluenceTd">user-specific secure identifier that should not be shared – even with us!</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>httpLogLevel</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>java.util.logging.Level</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);"><strong>camel 2.17.1</strong> Logging level for http calls</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>httpLogName</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);"><strong>camel 2.17.1</strong><span style="color: rgb(0,0,0);"> </span>Log category to use to log http calls, default "Braintree"</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>httpReadTimeout</span> </td><td colspan="1" rowspan="1" class="confluenceTd">Integer</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>camel 2.17.1</strong><span style="color: rgb(0,0,0);"> </span>Read timeout for http calls</td></tr></tbody></table></div><p>All the options above are provided by Braintree Payments</p><h3 id="Braintree-ProducerEndpoints:">Producer Endpoints:</h3><p>Producer endpoints can use endpoint prefixes followed by endpoint names and associated options described next. A shorthand alias can be used for some endpoints. The endpoint URI MUST contain a prefix.</p><p>Endpoint options that are not mandatory are denoted by []. When there are no mandatory options for an endpoint, one of the set of [] options MUST be provided. Producer endpoints can also use a special option <strong>inBody</strong> that in turn should contain the name of the endpoint option whose value will be contained in the Camel Exchange In message.</p><p>Any of the endpoint options can be provid ed in either the endpoint URI, or dynamically in a message header. The message header name must be of the format <strong>CamelBraintree.<option></strong>. Note that the <strong>inBody</strong> option overrides message header, i.e. the endpoint option <strong>inBody=option</strong> would override a <strong>CamelBraintree.option</strong> header.</p><p>For more information on the endpoints and options see Braintree references at <a shape="rect" class="external-link" href="https://developers.braintreepayments.com/reference/overview" rel="nofollow">https://developers.braintreepayments.com/reference/overview</a></p><p> </p><h4 id="Braintree-EndpointprefixaddOn">Endpoint prefix <em>addOn</em></h4><p>The following endpoints can be invoked with the prefix <strong>addOn</strong> as follows:</p><div><div class="syntaxhighlighter nogutter java"><p> </p><div class="code panel pdl" style="border-width: 1px;"><div class="codeCo ntent panelContent pdl"> Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available.