Finished

data class Finished(val transactionId: String, val workflow: WorkflowProgress?, val outcome: SessionOutcome, val lastStepOutput: StepOutput? = null) : StepResult

Verification has reached a terminal outcome. A later Session.next call returns this result again.

Constructors

Link copied to clipboard
constructor(transactionId: String, workflow: WorkflowProgress?, outcome: SessionOutcome, lastStepOutput: StepOutput? = null)

Properties

Link copied to clipboard
open override val lastStepOutput: StepOutput?

Output of the step the backend just moved past (e.g. StepOutput.CardScan), delivered once. Only a Ready or a Finished carries one; it is null for steps with no host-facing output.

Link copied to clipboard
Link copied to clipboard
open override val transactionId: String
Link copied to clipboard
open override val workflow: WorkflowProgress?

The latest workflow snapshot; null on a Failed or Finished that came before the backend sent one.