Builder
class Builder
A builder for PaymentSimulateActionParams.
Functions
Link copied to clipboard
fun additionalBodyProperties(additionalBodyProperties: Map<String, JsonValue>): PaymentSimulateActionParams.Builder
Link copied to clipboard
fun additionalHeaders(additionalHeaders: Map<String, Iterable<String>>): PaymentSimulateActionParams.Builder
Link copied to clipboard
fun additionalQueryParams(additionalQueryParams: Map<String, Iterable<String>>): PaymentSimulateActionParams.Builder
Link copied to clipboard
fun body(body: PaymentSimulateActionParams.SimulateActionRequest): PaymentSimulateActionParams.Builder
Sets the entire request body.
Link copied to clipboard
Returns an immutable instance of PaymentSimulateActionParams.
Link copied to clipboard
fun declineReason(declineReason: JsonField<PaymentSimulateActionParams.SupportedSimulationDeclineReasons>): PaymentSimulateActionParams.Builder
Sets Builder.declineReason to an arbitrary JSON value.
fun declineReason(declineReason: PaymentSimulateActionParams.SupportedSimulationDeclineReasons): PaymentSimulateActionParams.Builder
Decline reason
Link copied to clipboard
fun eventType(eventType: JsonField<PaymentSimulateActionParams.SupportedSimulationTypes>): PaymentSimulateActionParams.Builder
Sets Builder.eventType to an arbitrary JSON value.
fun eventType(eventType: PaymentSimulateActionParams.SupportedSimulationTypes): PaymentSimulateActionParams.Builder
Event Type
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun putAdditionalHeaders(name: String, values: Iterable<String>): PaymentSimulateActionParams.Builder
Link copied to clipboard
Link copied to clipboard
fun putAdditionalQueryParams(key: String, values: Iterable<String>): PaymentSimulateActionParams.Builder
Link copied to clipboard
fun putAllAdditionalBodyProperties(additionalBodyProperties: Map<String, JsonValue>): PaymentSimulateActionParams.Builder
Link copied to clipboard
fun putAllAdditionalHeaders(additionalHeaders: Map<String, Iterable<String>>): PaymentSimulateActionParams.Builder
Link copied to clipboard
fun putAllAdditionalQueryParams(additionalQueryParams: QueryParams): PaymentSimulateActionParams.Builder
fun putAllAdditionalQueryParams(additionalQueryParams: Map<String, Iterable<String>>): PaymentSimulateActionParams.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun replaceAdditionalHeaders(name: String, values: Iterable<String>): PaymentSimulateActionParams.Builder
Link copied to clipboard
fun replaceAdditionalQueryParams(key: String, values: Iterable<String>): PaymentSimulateActionParams.Builder
Link copied to clipboard
fun replaceAllAdditionalHeaders(additionalHeaders: Map<String, Iterable<String>>): PaymentSimulateActionParams.Builder
Link copied to clipboard
fun replaceAllAdditionalQueryParams(additionalQueryParams: QueryParams): PaymentSimulateActionParams.Builder
fun replaceAllAdditionalQueryParams(additionalQueryParams: Map<String, Iterable<String>>): PaymentSimulateActionParams.Builder
Link copied to clipboard
Sets Builder.returnReasonCode to an arbitrary JSON value.
Return Reason Code