Class TransactionSimulateClearingParams.Body
-
- All Implemented Interfaces:
public final class TransactionSimulateClearingParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransactionSimulateClearingParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringtoken()The transaction token returned from the /v1/simulate/authorize response. final Optional<Long>amount()Amount (in cents) to clear. final JsonField<String>_token()The transaction token returned from the /v1/simulate/authorize response. final JsonField<Long>_amount()Amount (in cents) to clear. final Map<String, JsonValue>_additionalProperties()final TransactionSimulateClearingParams.Bodyvalidate()final TransactionSimulateClearingParams.Body.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TransactionSimulateClearingParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
amount
final Optional<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.
-
_token
final JsonField<String> _token()
The transaction token returned from the /v1/simulate/authorize response.
-
_amount
final 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 Map<String, JsonValue> _additionalProperties()
-
validate
final TransactionSimulateClearingParams.Body validate()
-
toBuilder
final TransactionSimulateClearingParams.Body.Builder toBuilder()
-
builder
final static TransactionSimulateClearingParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.token()
-
-
-
-