TSIdo Service Response
data class TSIdoServiceResponse( val rejectionReason: String?, val data: Any?, val journeyStepId: String?, val clientResponseOptions: Map<String, TSIdoClientResponseOption>?, val token: String?)
Content copied to clipboard
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?)
Content copied to clipboard
Properties
Link copied to clipboard
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
The rejection reason string if the response type is TSIdoJourneyActionType.Rejection.
Link copied to clipboard
A proof of journey completion is provided upon successful completion of the journey, indicated by the TSIdoJourneyActionType.Success step ID.