私は、ColdFusion で Braintree の統合に取り組んできました。Braintree は CF を直接サポートしていませんが、Java ライブラリを提供しており、これまでに行ったことはすべてうまく機能しています...今まで. 一部のオブジェクト (特に検索機能) には、CF からアクセスできないメソッドが含まれているようです。これは、「is」や「contains」などの CF 予約語であるためだと思われます。これを回避する方法はありますか?
<cfscript>
gate = createObject( "java", "com.braintreegateway.BraintreeGateway" ).init(env,merchant.getMerchantAccountId(), merchant.getMerchantAccountPublicSecret(),merchant.getMerchantAccountPrivateSecret());
req = createObject( "java","com.braintreegateway.CustomerSearchRequest").id().is("#user.getUserId()#");
customer = gate.customer().search(req);
</cfscript>
スローされたエラー: 無効な CFML コンストラクト ... ColdFusion は次のテキストを見ていました: is