TrustTokenOperationDoneEvent

data class TrustTokenOperationDoneEvent(status: String, type: TrustTokenOperationType, requestId: RequestId, topLevelOrigin: String?, issuerOrigin: String?, issuedTokenCount: Int?) : Event

Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.

Constructors

TrustTokenOperationDoneEvent
Link copied to clipboard
fun TrustTokenOperationDoneEvent(status: String, type: TrustTokenOperationType, requestId: RequestId, topLevelOrigin: String? = null, issuerOrigin: String? = null, issuedTokenCount: Int? = null)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

issuedTokenCount
Link copied to clipboard
val issuedTokenCount: Int? = null
The number of obtained Trust Tokens on a successful "Issuance" operation.
issuerOrigin
Link copied to clipboard
val issuerOrigin: String? = null
Origin of the issuer in case of a "Issuance" or "Redemption" operation.
requestId
Link copied to clipboard
val requestId: RequestId
status
Link copied to clipboard
val status: String
Detailed success or error status of the operation.
topLevelOrigin
Link copied to clipboard
val topLevelOrigin: String? = null
Top level origin.
type
Link copied to clipboard
val type: TrustTokenOperationType

Sources

jvm source
Link copied to clipboard