State

enum State : Enum<State>

Class represents the current state of the SDK.

Entries

Link copied to clipboard

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

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

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

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): State

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.