TSIdoServiceResponse

data class TSIdoServiceResponse(    val rejectionReason: String?,     val data: Any?,     val journeyStepId: String?,     val clientResponseOptions: Map<String, TSIdoClientResponseOption>?,     val token: String?)

Data class for the Journey step response object. Including Journey end with either error, rejection and success.

Constructors

Link copied to clipboard
fun TSIdoServiceResponse(    rejectionReason: String?,     data: Any?,     journeyStepId: String?,     clientResponseOptions: Map<String, TSIdoClientResponseOption>?,     token: String?)

Properties

Link copied to clipboard
val clientResponseOptions: Map<String, TSIdoClientResponseOption>?

The Journey client response options.

Link copied to clipboard
val data: Any?

Optional object returned from the server in any of the response types.

Link copied to clipboard
val journeyStepId: String?

Contains the Journey step ID, allowing the client side to choose the correct handler and UI. This will be either a form ID for the "Get Information from Client" and "Login Form" journey steps, or one of TSIdoJourneyActionType for other actions.

Link copied to clipboard
val rejectionReason: String?

The rejection reason string if the response type is TSIdoJourneyActionType.Rejection.

Link copied to clipboard
val token: String?

A proof of journey completion is provided upon successful completion of the journey, indicated by the TSIdoJourneyActionType.Success step ID.