Class TransactionSimulateAuthorizationAdviceParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class TransactionSimulateAuthorizationAdviceParams implements Params
Simulates an authorization advice from the card network as if it came from a merchant acquirer. An authorization advice changes the pending amount of the transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransactionSimulateAuthorizationAdviceParams.BuilderA builder for TransactionSimulateAuthorizationAdviceParams.
public final classTransactionSimulateAuthorizationAdviceParams.Body
-
Method Summary
Modifier and Type Method Description final Stringtoken()The transaction token returned from the /v1/simulate/authorize. final Longamount()Amount (in cents) to authorize. final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<Long>_amount()Returns the raw JSON value of amount. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final TransactionSimulateAuthorizationAdviceParams.BuildertoBuilder()final TransactionSimulateAuthorizationAdviceParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static TransactionSimulateAuthorizationAdviceParams.Builderbuilder()Returns a mutable builder for constructing an instance of TransactionSimulateAuthorizationAdviceParams. -
-
Method Detail
-
token
final String token()
The transaction token returned from the /v1/simulate/authorize. response.
-
amount
final Long amount()
Amount (in cents) to authorize. This amount will override the transaction's amount that was originally set by /v1/simulate/authorize.
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_amount
final JsonField<Long> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final TransactionSimulateAuthorizationAdviceParams.Builder toBuilder()
-
_body
final TransactionSimulateAuthorizationAdviceParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static TransactionSimulateAuthorizationAdviceParams.Builder builder()
Returns a mutable builder for constructing an instance of TransactionSimulateAuthorizationAdviceParams.
The following fields are required:
.token() .amount()
-
-
-
-