[jira] [Commented] (CAMEL-12138) Expose Braintree Dispute API
[ https://issues.apache.org/jira/browse/CAMEL-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519308#comment-16519308 ] ASF GitHub Bot commented on CAMEL-12138: oscerd commented on issue #2389: CAMEL-12138: camel-braintree - expose dispute and documentUpload APIs URL: https://github.com/apache/camel/pull/2389#issuecomment-399088361 Merged on master This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Expose Braintree Dispute API > > > Key: CAMEL-12138 > URL: https://issues.apache.org/jira/browse/CAMEL-12138 > Project: Camel > Issue Type: New Feature > Components: camel-braintree >Reporter: Russ Johnson >Assignee: Andrea Cosentino >Priority: Major > Fix For: 2.22.0 > > > Braintree's Dispute API, described here: > https://developers.braintreepayments.com/reference/response/dispute/java, is > not currently exposed in the Braintree Component. > The intention of this ticket is to expose the Braintree Dispute API in the > Component. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-12138) Expose Braintree Dispute API
[ https://issues.apache.org/jira/browse/CAMEL-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519304#comment-16519304 ] ASF GitHub Bot commented on CAMEL-12138: oscerd commented on issue #2389: CAMEL-12138: camel-braintree - expose dispute and documentUpload APIs URL: https://github.com/apache/camel/pull/2389#issuecomment-399088242 Thanks for the PR This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Expose Braintree Dispute API > > > Key: CAMEL-12138 > URL: https://issues.apache.org/jira/browse/CAMEL-12138 > Project: Camel > Issue Type: New Feature > Components: camel-braintree >Reporter: Russ Johnson >Assignee: Andrea Cosentino >Priority: Major > Fix For: 2.22.0 > > > Braintree's Dispute API, described here: > https://developers.braintreepayments.com/reference/response/dispute/java, is > not currently exposed in the Braintree Component. > The intention of this ticket is to expose the Braintree Dispute API in the > Component. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-12138) Expose Braintree Dispute API
[ https://issues.apache.org/jira/browse/CAMEL-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519306#comment-16519306 ] ASF GitHub Bot commented on CAMEL-12138: oscerd closed pull request #2389: CAMEL-12138: camel-braintree - expose dispute and documentUpload APIs URL: https://github.com/apache/camel/pull/2389 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/components/camel-braintree/pom.xml b/components/camel-braintree/pom.xml index 6f193b774fe..f1d9e3e61b7 100644 --- a/components/camel-braintree/pom.xml +++ b/components/camel-braintree/pom.xml @@ -159,6 +159,16 @@ com.braintreegateway.DiscountGateway + + dispute + com.braintreegateway.DisputeGateway + + + + documentUpload + com.braintreegateway.DocumentUploadGateway + + merchantAccount com.braintreegateway.MerchantAccountGateway diff --git a/components/camel-braintree/src/main/docs/braintree-component.adoc b/components/camel-braintree/src/main/docs/braintree-component.adoc index 50bfde3917a..202274a7552 100644 --- a/components/camel-braintree/src/main/docs/braintree-component.adoc +++ b/components/camel-braintree/src/main/docs/braintree-component.adoc @@ -115,6 +115,8 @@ Endpoint prefix can be one of: * creditCardverification * customer * discount +* dispute +* documentUpload * merchantAccount * paymentmethod * paymentmethodNonce @@ -357,6 +359,90 @@ braintree://discount/endpoint + + Endpoint prefix _dispute_ + +The following endpoints can be invoked with the prefix *dispute* as +follows: + +[source,java] +-- +braintree://dispute/endpoint?[options] +-- + +[cols="<,<,<,<",options="header",] +|=== +|Endpoint |Shorthand Alias |Options |Result Body Type +|accept | |id +|com.braintreegateway.Result + +|addFileEvidence | |disputeId, documentId +|com.braintreegateway.Result + +|addFileEvidence | |disputeId, fileEvidenceRequest +|com.braintreegateway.Result + +|addTextEvidence | |disputeId, content +|com.braintreegateway.Result + +|addTextEvidence | |disputeId, textEvidenceRequest +|com.braintreegateway.Result + +|finalize | |id +|com.braintreegateway.Result + +|find | |id +|com.braintreegateway.Dispute + +|removeEvidence | |id +|com.braintreegateway.Result + +|search | | disputeSearchRequest +|com.braintreegateway.PaginatedCollection +|=== + +[[Braintree-URIOptionsfordispute]] +URI Options for _dispute_ + +[cols="<,<",options="header",] +|== +|Name |Type +|id |String +|disputeId |String +|documentId |String +|fileEvidenceRequest |com.braintreegateway.FileEvidenceRequest +|content |String | +|textEvidenceRequest |com.braintreegateway.TextEvidenceRequest +|disputeSearchRequest |com.braintreegateway.DisputeSearchRequest +|== + + + Endpoint prefix _documentUpload_ + +The following endpoints can be invoked with the prefix *documentUpload* as +follows: + +[source,java] +-- +braintree://documentUpload/endpoint?[options] +-- + +[cols="<,<,<,<",options="header",] +|=== +|Endpoint |Shorthand Alias |Options |Result Body Type +|create | |request +|com.braintreegateway.Result +|=== + +[[Braintree-URIOptionsfordocumentUpload]] +URI Options for _documentUpload_ + +[cols="<,<",options="header",] +|== +|Name |Type +|request |com.braintreegateway.DocumentUploadRequest +|== + + Endpoint prefix _merchantAccount_ The following endpoints can be invoked with the diff --git a/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/DisputeGatewayIntegrationTest.java b/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/DisputeGatewayIntegrationTest.java new file mode 100644 index 000..bc867e616eb --- /dev/null +++ b/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/DisputeGatewayIntegrat
[jira] [Commented] (CAMEL-12138) Expose Braintree Dispute API
[ https://issues.apache.org/jira/browse/CAMEL-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519307#comment-16519307 ] ASF GitHub Bot commented on CAMEL-12138: Github user oscerd closed the pull request at: https://github.com/apache/camel/pull/2389 > Expose Braintree Dispute API > > > Key: CAMEL-12138 > URL: https://issues.apache.org/jira/browse/CAMEL-12138 > Project: Camel > Issue Type: New Feature > Components: camel-braintree >Reporter: Russ Johnson >Assignee: Andrea Cosentino >Priority: Major > Fix For: 2.22.0 > > > Braintree's Dispute API, described here: > https://developers.braintreepayments.com/reference/response/dispute/java, is > not currently exposed in the Braintree Component. > The intention of this ticket is to expose the Braintree Dispute API in the > Component. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-12138) Expose Braintree Dispute API
[ https://issues.apache.org/jira/browse/CAMEL-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519299#comment-16519299 ] ASF GitHub Bot commented on CAMEL-12138: nofuss opened a new pull request #2389: CAMEL-12138: camel-braintree - expose dispute and documentUpload APIs URL: https://github.com/apache/camel/pull/2389 Exposed Dispute and Document Upload APIs as provided by the Braintree Java SDK https://github.com/braintree/braintree_java This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Expose Braintree Dispute API > > > Key: CAMEL-12138 > URL: https://issues.apache.org/jira/browse/CAMEL-12138 > Project: Camel > Issue Type: New Feature > Components: camel-braintree >Reporter: Russ Johnson >Priority: Major > Fix For: 2.23.0 > > > Braintree's Dispute API, described here: > https://developers.braintreepayments.com/reference/response/dispute/java, is > not currently exposed in the Braintree Component. > The intention of this ticket is to expose the Braintree Dispute API in the > Component. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-12138) Expose Braintree Dispute API
[ https://issues.apache.org/jira/browse/CAMEL-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519300#comment-16519300 ] ASF GitHub Bot commented on CAMEL-12138: GitHub user nofuss opened a pull request: https://github.com/apache/camel/pull/2389 CAMEL-12138: camel-braintree - expose dispute and documentUpload APIs Exposed Dispute and Document Upload APIs as provided by the Braintree Java SDK https://github.com/braintree/braintree_java You can merge this pull request into a Git repository by running: $ git pull https://github.com/nofuss/camel CAMEL-12138 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2389.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2389 commit 9e82e0352cbb0469b2cc364222bba2448d9879ca Author: Russ Johnson Date: 2018-06-21T11:04:25Z CAMEL-12138: camel-braintree - expose dispute and documentUpload APIs > Expose Braintree Dispute API > > > Key: CAMEL-12138 > URL: https://issues.apache.org/jira/browse/CAMEL-12138 > Project: Camel > Issue Type: New Feature > Components: camel-braintree >Reporter: Russ Johnson >Priority: Major > Fix For: 2.23.0 > > > Braintree's Dispute API, described here: > https://developers.braintreepayments.com/reference/response/dispute/java, is > not currently exposed in the Braintree Component. > The intention of this ticket is to expose the Braintree Dispute API in the > Component. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-12138) Expose Braintree Dispute API
[ https://issues.apache.org/jira/browse/CAMEL-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340702#comment-16340702 ] Russ Johnson commented on CAMEL-12138: -- At the moment, no, but some time within the next month or two I expect to. I am working on a project that will need this API exposed later this year. > Expose Braintree Dispute API > > > Key: CAMEL-12138 > URL: https://issues.apache.org/jira/browse/CAMEL-12138 > Project: Camel > Issue Type: New Feature > Components: camel-braintree >Reporter: Russ Johnson >Priority: Major > Fix For: 2.21.0 > > > Braintree's Dispute API, described here: > https://developers.braintreepayments.com/reference/response/dispute/java, is > not currently exposed in the Braintree Component. > The intention of this ticket is to expose the Braintree Dispute API in the > Component. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-12138) Expose Braintree Dispute API
[ https://issues.apache.org/jira/browse/CAMEL-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339791#comment-16339791 ] Ricardo Zanini commented on CAMEL-12138: [~nofuss] are you working on it? > Expose Braintree Dispute API > > > Key: CAMEL-12138 > URL: https://issues.apache.org/jira/browse/CAMEL-12138 > Project: Camel > Issue Type: New Feature > Components: camel-braintree >Reporter: Russ Johnson >Priority: Major > Fix For: 2.21.0 > > > Braintree's Dispute API, described here: > https://developers.braintreepayments.com/reference/response/dispute/java, is > not currently exposed in the Braintree Component. > The intention of this ticket is to expose the Braintree Dispute API in the > Component. -- This message was sent by Atlassian JIRA (v7.6.3#76005)