Class PaymentSimulateActionParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class PaymentSimulateActionParams implements Params
Simulate payment lifecycle event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaymentSimulateActionParams.BuilderA builder for PaymentSimulateActionParams.
public final classPaymentSimulateActionParams.SimulateActionRequestpublic final classPaymentSimulateActionParams.SupportedSimulationTypesEvent Type
public final classPaymentSimulateActionParams.SupportedSimulationDeclineReasonsDecline reason
-
Method Summary
-
-
Method Detail
-
paymentToken
final Optional<String> paymentToken()
-
eventType
final PaymentSimulateActionParams.SupportedSimulationTypes eventType()
Event Type
-
declineReason
final Optional<PaymentSimulateActionParams.SupportedSimulationDeclineReasons> declineReason()
Decline reason
-
returnReasonCode
final Optional<String> returnReasonCode()
Return Reason Code
-
_eventType
final JsonField<PaymentSimulateActionParams.SupportedSimulationTypes> _eventType()
Returns the raw JSON value of eventType.
Unlike eventType, this method doesn't throw if the JSON field has an unexpected type.
-
_declineReason
final JsonField<PaymentSimulateActionParams.SupportedSimulationDeclineReasons> _declineReason()
Returns the raw JSON value of declineReason.
Unlike declineReason, this method doesn't throw if the JSON field has an unexpected type.
-
_returnReasonCode
final JsonField<String> _returnReasonCode()
Returns the raw JSON value of returnReasonCode.
Unlike returnReasonCode, 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 PaymentSimulateActionParams.Builder toBuilder()
-
_body
final PaymentSimulateActionParams.SimulateActionRequest _body()
-
_pathParam
final String _pathParam(Integer index)
-
_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 PaymentSimulateActionParams.Builder builder()
Returns a mutable builder for constructing an instance of PaymentSimulateActionParams.
The following fields are required:
.eventType()
-
-
-
-