Builder
class Builder
A builder for SimulateActionRequest.
Functions
Link copied to clipboard
fun additionalProperties(additionalProperties: Map<String, JsonValue>): PaymentSimulateActionParams.SimulateActionRequest.Builder
Link copied to clipboard
Returns an immutable instance of SimulateActionRequest.
Link copied to clipboard
fun declineReason(declineReason: JsonField<PaymentSimulateActionParams.SupportedSimulationDeclineReasons>): PaymentSimulateActionParams.SimulateActionRequest.Builder
Sets Builder.declineReason to an arbitrary JSON value.
fun declineReason(declineReason: PaymentSimulateActionParams.SupportedSimulationDeclineReasons): PaymentSimulateActionParams.SimulateActionRequest.Builder
Decline reason
Link copied to clipboard
fun eventType(eventType: JsonField<PaymentSimulateActionParams.SupportedSimulationTypes>): PaymentSimulateActionParams.SimulateActionRequest.Builder
Sets Builder.eventType to an arbitrary JSON value.
fun eventType(eventType: PaymentSimulateActionParams.SupportedSimulationTypes): PaymentSimulateActionParams.SimulateActionRequest.Builder
Event Type
Link copied to clipboard
Link copied to clipboard
fun putAllAdditionalProperties(additionalProperties: Map<String, JsonValue>): PaymentSimulateActionParams.SimulateActionRequest.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun returnReasonCode(returnReasonCode: JsonField<String>): PaymentSimulateActionParams.SimulateActionRequest.Builder
Sets Builder.returnReasonCode to an arbitrary JSON value.
fun returnReasonCode(returnReasonCode: String): PaymentSimulateActionParams.SimulateActionRequest.Builder
Return Reason Code