You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2016/04/18 16:18:37 UTC

svn commit: r985999 - in /websites/production/camel/content: braintree.html cache/main.pageCache

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>&#160;trough through theirs&#160;<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.&#160;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>&#160;or&#160;<a shape="rect" class="external-link" href="https://www.braintreepayments.com/signup" rel="nofollow">Production</a> account.</p><p>&#160;</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>&#160;</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>&#160;or&#160;<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>&#160;</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[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-braintree&lt;/artifactId&gt;
-    &lt;version&gt;${camel-version}&lt;/version&gt;
-&lt;/dependency&gt;]]></script>
+    &lt;version&gt;x.x.x&lt;/version&gt;
+    &lt;!-- use the same version as your Camel core version --&gt;
+&lt;/dependency&gt;
+]]></script>
 </div></div><p>&#160;</p></div></div><h3 id="Braintree-URIformat">URI format</h3><div><div class="syntaxhighlighter nogutter java"><p>&#160;</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>&#160;</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>&#160;</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&#160;<strong>configuration</strong>&#160;of type&#160;<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 &#8211; 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 &#8211; 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);">&#160;</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);">&#160;</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&#160;<strong>inBody</strong>&#160;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&#160;<strong>CamelBraintree.&lt;option&gt;</strong>. Note that the&#160;<strong>inBody</strong>&#160;option overrides message header, i.e. the endpoint option&#160;<strong>inBody=option</strong>&#160;would override a&#160;<strong>CamelBraintree.option</strong>&#160;header.</p><p>For more information on the endpoints and options see Braintree references at&#160;<a shape="rect" class="external-link" href="https://developers.braintreepayments.com/reference/overview" rel="nofollow">https://developers.braintreepayments.com/reference/overview</a></p><p>&#160;</p><h4 id="Braintree-EndpointprefixaddOn">Endpoint prefix&#160;<em>addOn</em></h4><p>The following endpoints can be invoked with the prefix&#160;<strong>addOn</strong>&#160;as follows:</p><div><div class="syntaxhighlighter nogutter java"><p>&#160;</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.