53.4.13. 端点前缀 事务
以下端点可以通过前缀 事务 调用,如下所示:
braintree://transaction/endpoint?[options]
端点 | 简写别名 | 选项 | 结果 Body 类型 |
---|---|---|---|
cancelRelease |
| id | com.braintreegateway.Result<com.braintreegateway.Transaction> |
cloneTransaction |
| id, cloneRequest | com.braintreegateway.Result<com.braintreegateway.Transaction> |
贡献度 |
| 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> |
退款(ref) |
| id、amount、refRequest | com.braintreegateway.Result<com.braintreegateway.Transaction> |
sale |
| Request (请求) | com.braintreegateway.Result<com.braintreegateway.Transaction> |
search |
| query | com.braintreegateway.ResourceCollection<com.braintreegateway.Transaction> |
submitForPartialSettlement |
| ID、数量 | com.braintreegateway.Result<com.braintreegateway.Transaction> |
submitForSettlement |
| ID、数量、请求 | com.braintreegateway.Result<com.braintreegateway.Transaction> |
voidTransaction |
| id | com.braintreegateway.Result<com.braintreegateway.Transaction> |
事务的 URI 选项
名称 | 类型 |
---|---|
id | 字符串 |
Request (请求) | com.braintreegateway.TransactionCloneRequest |
cloneRequest | com.braintreegateway.TransactionCloneRequest |
refundRequest | com.braintreegateway.TransactionRefundRequest |
amount | BigDecimal |
query | com.braintreegateway.TransactionSearchRequest |