Payment

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

Payment Token data structure

Parameters

unsignedPaymentToken

the string representation of unsigned payment token value

paymentMeanId

the payment mean id the token was generated for

signedToken

the string representation of the signed payment token

Constructors

Link copied to clipboard
constructor(unsignedPaymentToken: String, paymentMeanId: UUID?, signedToken: String? = null)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun sign(keyManager: IKeyManager): Token.Payment
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