53.4. プロデューサーエンドポイント:

プロデューサーエンドポイントは、エンドポイント 接頭辞の後にエンドポイント名と次に説明する関連オプションを使用できます。一部のエンドポイントには省略形のエイリアスを使用できます。エンドポイント URI には接頭辞が含まれている必要があります。

必須ではないエンドポイントオプションはで示されます。エンドポイントに必須のオプションがない場合、オプションのセットの 1 つを提供する必要があります。プロデューサエンドポイントは、特別なオプション inBody を使用することもできます。このオプションには、値が Camel Exchange In メッセージに含まれるエンドポイントオプションの名前が含まれている必要があります。

エンドポイントオプションは、エンドポイント URI またはメッセージヘッダーで動的に指定できます。メッセージヘッダー名は CamelBraintree.<option> の形式である必要があります。inBody オプションはメッセージヘッダーをオーバーライドすることに注意してください。つまり、エンドポイントオプション inBody=optionCamelBraintree.option ヘッダーをオーバーライドします。

エンドポイントとオプションの詳細については、https://developers.braintreepayments.com/reference/overview で Braintree のリファレンスを参照してください。

 

53.4.1. エンドポイント接頭辞 addOn

次のエンドポイントは、次のように接頭辞 addOn を使用して呼び出すことができます。

 

braintree://addOn/endpoint
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

all

 

 

List<com.braintreegateway.Addon>

53.4.2. エンドポイント接頭辞 address

次のエンドポイントは、次のように接頭辞 address を使用して呼び出すことができます。

 

braintree://address/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

create

 

customerId, request

com.braintreegateway.Result<com.braintreegateway.Address>

delete

 

customerId, id

com.braintreegateway.Result<com.braintreegateway.Address> 

find

 

customerId, id

com.braintreegateway.Address

update

 

customerId, id, request

com.braintreegateway.Result<com.braintreegateway.Address> 

address の URI オプション

名前タイプ

customerId

String

request

com.braintreegateway.AddressRequest

id

String

53.4.3. エンドポイント接頭辞 clientToken

次のエンドポイントは、次のように接頭辞 clientToken を使用して呼び出すことができます。

 

braintree://clientToken/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

generate

 

 request

String

clientToken の URI オプション

名前タイプ

request

com.braintreegateway.ClientTokenrequest

53.4.4. エンドポイント接頭辞 creditCardVerification

次のエンドポイントは、次のように接頭辞 creditCardverification で呼び出すことができます。

 

braintree://creditCardVerification/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

find

 

 id

com.braintreegateway.CreditCardVerification

search

 

query

com.braintreegateway.ResourceCollection<com.braintreegateway.CreditCardVerification>

creditCardVerification の URI オプション

名前タイプ

id

String

query

com.braintreegateway.CreditCardVerificationSearchRequest

53.4.5. エンドポイント接頭辞 customer

次のエンドポイントは、次のように接頭辞 customer で呼び出すことができます。

 

braintree://customer/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

all

 

 

 

create

 

request

com.braintreegateway.Result<com.braintreegateway.Customer>

delete

 

id

com.braintreegateway.Result<com.braintreegateway.Customer>

find

 

id

com.braintreegateway.Customer

search

 

query

com.braintreegateway.ResourceCollection<com.braintreegateway.Customer>

update

 

id、request

com.braintreegateway.Result<com.braintreegateway.Customer>

customer の URI オプション

名前タイプ

id

String

request

com.braintreegateway.CustomerRequest

query

com.braintreegateway.CustomerSearchRequest

53.4.6. エンドポイント接頭辞 discount

次のエンドポイントは、次のように接頭辞 discount で呼び出すことができます。

 

braintree://discount/endpoint
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

all

 

 

List<com.braintreegateway.Discount>

+
+

53.4.7. エンドポイント接頭辞 merchantAccount

次のエンドポイントは、次のように接頭辞 MerchantAccount で呼び出すことができます。

 

braintree://merchantAccount/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

create

 

request

com.braintreegateway.Result<com.braintreegateway.MerchantAccount>

createForCurrency

 

currencyRequest

com.braintreegateway.Result<com.braintreegateway.MerchantAccount>

find

 

id

com.braintreegateway.MerchantAccount

update

 

id、request

com.braintreegateway.Result<com.braintreegateway.MerchantAccount>

MerchantAccount の URI オプション

名前タイプ

id

String

request

com.braintreegateway.MerchantAccountRequest

currencyRequest

com.braintreegateway.MerchantAccountCreateForCurrencyRequest

53.4.8. エンドポイント接頭辞 paymentMethod

次のエンドポイントは、次のように paymentMethod 接頭辞を付けて呼び出すことができます。

 

braintree://paymentMethod/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

create

 

request

com.braintreegateway.Result<com.braintreegateway.PaymentMethod>

delete

 

token, deleteRequest

com.braintreegateway.Result<com.braintreegateway.PaymentMethod>

find

 

token

com.braintreegateway.PaymentMethod

update

 

token, request

com.braintreegateway.Result<com.braintreegateway.PaymentMethod>

paymentMethod の URI オプション

名前タイプ

token

String

request

com.braintreegateway.PaymentMethodRequest

deleteRequest

com.braintreegateway.PaymentMethodDeleteRequest

53.4.9. エンドポイント接頭辞 paymentMethodNonce

次のエンドポイントは、次のように接頭辞 paymentMethodNonce で呼び出すことができます。

 

braintree://paymentMethodNonce/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

create

 

paymentMethodToken

com.braintreegateway.Result<com.braintreegateway.PaymentMethodNonce>

find

 

paymentMethodNonce

com.braintreegateway.PaymentMethodNonce

paymentMethodNonce の URI オプション

名前タイプ

paymentMethodToken

String

paymentMethodNonce

String

53.4.10. エンドポイント接頭辞 plan

次のエンドポイントは、次のように接頭辞 plan で呼び出すことができます。

 

braintree://plan/endpoint
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

all

 

 

List<com.braintreegateway.Plan>

 

53.4.11. エンドポイント接頭辞 settlementBatchSummary

次のエンドポイントは、次のように、separationBatchSummary 接頭辞を使用して呼び出すことができます。

 

braintree://settlementBatchSummary/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

generate

 

 request

com.braintreegateway.Result<com.braintreegateway.SettlementBatchSummary>

決済 BatchSummary の URI オプション

名前タイプ

settlementDate

Calendar

groupByCustomField

String

53.4.12. エンドポイント接頭辞 subscription

次のエンドポイントは、次のように接頭辞 subscription で呼び出すことができます。

 

braintree://subscription/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

cancel

 

 id

 com.braintreegateway.Result<com.braintreegateway.Subscription>

create

 

request

com.braintreegateway.Result<com.braintreegateway.Subscription>

delete

 

customerId, id

com.braintreegateway.Result<com.braintreegateway.Subscription>

find

 

id

com.braintreegateway.Subscription

retryCharge

 

subscriptionId, amount

com.braintreegateway.Result<com.braintreegateway.Transaction>

search

 

searchRequest

com.braintreegateway.ResourceCollection<com.braintreegateway.Subscription>

update

 

id、request

com.braintreegateway.Result<com.braintreegateway.Subscription>

subscription の URI オプション

名前タイプ

id

String

request

com.braintreegateway.SubscriptionRequest

customerId

String

subscriptionId

String

amount

BigDecimal

searchRequest

com.braintreegateway.SubscriptionSearchRequest.

 

53.4.13. エンドポイント接頭辞 transaction

次のエンドポイントは、次のように接頭辞 transaction で呼び出すことができます。

 

braintree://transaction/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

cancelRelease

 

id

com.braintreegateway.Result<com.braintreegateway.Transaction>

cloneTransaction

 

id, cloneRequest

com.braintreegateway.Result<com.braintreegateway.Transaction>

credit

 

request

com.braintreegateway.Result<com.braintreegateway.Transaction>

find

 

id

com.braintreegateway.Transaction

holdInEscrow

 

id

com.braintreegateway.Result<com.braintreegateway.Transaction>

releaseFromEscrow

 

id

com.braintreegateway.Result<com.braintreegateway.Transaction>

refund

 

id, amount, refundRequest

com.braintreegateway.Result<com.braintreegateway.Transaction>

sale

 

request

com.braintreegateway.Result<com.braintreegateway.Transaction>

search

 

query

com.braintreegateway.ResourceCollection<com.braintreegateway.Transaction>

submitForPartialSettlement

 

id, amount

com.braintreegateway.Result<com.braintreegateway.Transaction>

submitForSettlement

 

id, amount, request

com.braintreegateway.Result<com.braintreegateway.Transaction>

voidTransaction

 

id

com.braintreegateway.Result<com.braintreegateway.Transaction>

transaction の URI オプション

名前タイプ

id

String

request

com.braintreegateway.TransactionCloneRequest

cloneRequest

com.braintreegateway.TransactionCloneRequest

refundRequest

com.braintreegateway.TransactionRefundRequest

amount

BigDecimal

query

com.braintreegateway.TransactionSearchRequest

53.4.14. エンドポイント接頭辞 webhookNotification

次のエンドポイントは、次のように接頭辞 webhookNotification で呼び出すことができます。

 

braintree://webhookNotification/endpoint?[options]
エンドポイント短縮形エイリアスオプション結果ボディーのタイプ

parse

 

 signature, payload

com.braintreegateway.WebhookNotification

verify

 

challenge

String

webhookNotification の URI オプション

名前タイプ

signature

String

payload

String

challenge

String