Token

sealed class Token

Interface detailing tokens in Whitelabel Pay

Inheritors

Types

Link copied to clipboard
data class Enrolment(notificationId: String, merchantPrefix: String, publicKey: Ed25519PublicKeyParameters) : Token

Enrolment token data structure

Link copied to clipboard
@Serializable
data class Payment(unsignedPaymentToken: String, paymentMeanId: UUID?, var signedToken: String? = null) : Token

Payment Token data structure

Functions

Link copied to clipboard
abstract fun stringRepresentation(): String?

Function used for retrieving the string representation of a token provided to the QR/Aztec code