Class TransactionSimulateClearingParams.Body.Builder
-
- All Implemented Interfaces:
public final class TransactionSimulateClearingParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
token
final TransactionSimulateClearingParams.Body.Builder token(String token)
The transaction token returned from the /v1/simulate/authorize response.
-
token
final TransactionSimulateClearingParams.Body.Builder token(JsonField<String> token)
The transaction token returned from the /v1/simulate/authorize response.
-
amount
final TransactionSimulateClearingParams.Body.Builder amount(Long amount)
Amount (in cents) to clear. Typically this will match the amount in the original authorization, but can be higher or lower. The sign of this amount will automatically match the sign of the original authorization's amount. For example, entering 100 in this field will result in a -100 amount in the transaction, if the original authorization is a credit authorization.
If
amountis not set, the full amount of the transaction will be cleared. Transactions that have already cleared, either partially or fully, cannot be cleared again using this endpoint.
-
amount
final TransactionSimulateClearingParams.Body.Builder amount(JsonField<Long> amount)
Amount (in cents) to clear. Typically this will match the amount in the original authorization, but can be higher or lower. The sign of this amount will automatically match the sign of the original authorization's amount. For example, entering 100 in this field will result in a -100 amount in the transaction, if the original authorization is a credit authorization.
If
amountis not set, the full amount of the transaction will be cleared. Transactions that have already cleared, either partially or fully, cannot be cleared again using this endpoint.
-
additionalProperties
final TransactionSimulateClearingParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TransactionSimulateClearingParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TransactionSimulateClearingParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TransactionSimulateClearingParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TransactionSimulateClearingParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TransactionSimulateClearingParams.Body build()
-
-
-
-