Class TransactionSimulateCreditAuthorizationParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class TransactionSimulateCreditAuthorizationParams 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 classTransactionSimulateCreditAuthorizationParams.Bodypublic final classTransactionSimulateCreditAuthorizationParams.BuilderA builder for TransactionSimulateCreditAuthorizationParams.
-
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()Amount (in cents). final JsonField<String>_descriptor()Merchant descriptor. final JsonField<String>_pan()Sixteen digit card number. final JsonField<String>_mcc()Merchant category code for the transaction to be simulated. final JsonField<String>_merchantAcceptorId()Unique identifier to identify the payment card acceptor. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()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. final TransactionSimulateCreditAuthorizationParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TransactionSimulateCreditAuthorizationParams.Builderbuilder()Returns a mutable builder for constructing an instance of TransactionSimulateCreditAuthorizationParams. -
-
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()
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 JsonField<String> _descriptor()
Merchant descriptor.
-
_mcc
final JsonField<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 JsonField<String> _merchantAcceptorId()
Unique identifier to identify the payment card acceptor.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_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.
-
toBuilder
final TransactionSimulateCreditAuthorizationParams.Builder toBuilder()
-
builder
final static TransactionSimulateCreditAuthorizationParams.Builder builder()
Returns a mutable builder for constructing an instance of TransactionSimulateCreditAuthorizationParams.
The following fields are required:
.amount() .descriptor() .pan()
-
-
-
-