aries / net.globalid.aries.features.issuecredential.record / CredentialRecord / RejectedCredential

RejectedCredential

@JsonClass(true) data class RejectedCredential : CredentialRecord

This class relates to the CredentialState.REJECTED credential record. The current state of the credential record can be set only from SentRequest.

Constructors

<init>

This class relates to the CredentialState.REJECTED credential record. The current state of the credential record can be set only from SentRequest.

RejectedCredential(id: String, connectionContext: ConnectionContext, comment: String?, offerJson: String, credentialDefinitionId: String, credentialAttributesValues: List<CredentialPreviewAttribute> = emptyList(), schemaId: String)

Properties

comment

is an optional comment for display

val comment: String?

connectionContext

is a ConnectionContext, holding the data for sending a message.

val connectionContext: ConnectionContext

credentialAttributesValues

the user values json

val credentialAttributesValues: List<CredentialPreviewAttribute>

credentialDefinitionId

the definition identifier of this credential

val credentialDefinitionId: String

id

the unique record identifier

val id: String

offerJson

the credential offer json

val offerJson: String

schemaId

the schema identifier

val schemaId: String