State

sealed class State

Class represents the current state of the SDK.

Inheritors

Types

Link copied to clipboard
data object Activating : State

The SDK is in the process of activating a payment mean. This state is usually entered after the user completed the onboarding process.

Link copied to clipboard
data object Active : State

There is an active payment mean and the user can perform payments with it.

Link copied to clipboard
data object Inactive : State

The SDK is in the inactive state which means there was no enrolment at any point in time. This is the state in which the SDK is after the first initialisation.

Link copied to clipboard
data object Onboarding : State

The SDK could have previously onboarded, but it currently does not have any active payment means. This is usually the case when the user payment means expired or the initial onboarding failed. The SDK at this point is registered with the PaymentTools backend and has a subjectId.

Link copied to clipboard
data class OnlineOnboarding(val nextStep: OnlineOnboardingSteps) : State