Class TransactionSimulateCreditAuthorizationAdviceParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class TransactionSimulateCreditAuthorizationAdviceParams implements Params
Simulates a credit authorization advice from the card network. This message indicates that the network approved a credit authorization on your behalf.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransactionSimulateCreditAuthorizationAdviceParams.BuilderA builder for TransactionSimulateCreditAuthorizationAdviceParams.
public final classTransactionSimulateCreditAuthorizationAdviceParams.Body
-
Method Summary
Modifier and Type Method Description final Longamount()Amount (in cents). final Stringdescriptor()Merchant descriptor. final Stringpan()Sixteen digit card number. final Optional<String>mcc()Merchant category code for the transaction to be simulated. final Optional<String>merchantAcceptorId()Unique identifier to identify the payment card acceptor. final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<String>_descriptor()Returns the raw JSON value of descriptor. final JsonField<String>_pan()Returns the raw JSON value of pan. final JsonField<String>_mcc()Returns the raw JSON value of mcc. final JsonField<String>_merchantAcceptorId()Returns the raw JSON value of merchantAcceptorId. 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 TransactionSimulateCreditAuthorizationAdviceParams.BuildertoBuilder()final TransactionSimulateCreditAuthorizationAdviceParams.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 TransactionSimulateCreditAuthorizationAdviceParams.Builderbuilder()Returns a mutable builder for constructing an instance of TransactionSimulateCreditAuthorizationAdviceParams. -
-
Method Detail
-
amount
final Long amount()
Amount (in cents). Any value entered will be converted into a negative amount in the simulated transaction. For example, entering 100 in this field will appear as a -100 amount in the transaction.
-
descriptor
final String descriptor()
Merchant descriptor.
-
mcc
final Optional<String> mcc()
Merchant category code for the transaction to be simulated. A four-digit number listed in ISO 18245. Supported merchant category codes can be found here.
-
merchantAcceptorId
final Optional<String> merchantAcceptorId()
Unique identifier to identify the payment card acceptor.
-
_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.
-
_descriptor
final JsonField<String> _descriptor()
Returns the raw JSON value of descriptor.
Unlike descriptor, this method doesn't throw if the JSON field has an unexpected type.
-
_pan
final JsonField<String> _pan()
Returns the raw JSON value of pan.
Unlike pan, this method doesn't throw if the JSON field has an unexpected type.
-
_mcc
final JsonField<String> _mcc()
Returns the raw JSON value of mcc.
Unlike mcc, this method doesn't throw if the JSON field has an unexpected type.
-
_merchantAcceptorId
final JsonField<String> _merchantAcceptorId()
Returns the raw JSON value of merchantAcceptorId.
Unlike merchantAcceptorId, 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 TransactionSimulateCreditAuthorizationAdviceParams.Builder toBuilder()
-
_body
final TransactionSimulateCreditAuthorizationAdviceParams.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 TransactionSimulateCreditAuthorizationAdviceParams.Builder builder()
Returns a mutable builder for constructing an instance of TransactionSimulateCreditAuthorizationAdviceParams.
The following fields are required:
.amount() .descriptor() .pan()
-
-
-
-