Enrolment

data class Enrolment(referenceId: String, merchantPrefix: String, publicKey: Ed25519PublicKeyParameters, val issuedAt: Long = Instant.now().epochSecond) : Token

Enrolment token data structure

Parameters

referenceId

the notification identifier received from merchant app

merchantPrefix

the string prefix we get from merchant

publicKey

the public key from IKeyManager

Constructors

Link copied to clipboard
constructor(referenceId: String, merchantPrefix: String, publicKey: Ed25519PublicKeyParameters, issuedAt: Long = Instant.now().epochSecond)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun stringRepresentation(): String

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