Body

data class Body constructor(val goalCode: String? = null, val comment: String? = null, val replacementId: String? = null, val multipleAvailable: String? = null, val credentialPreview: CredentialPreview)(source)

Represents the body of an OfferCredential message.

Constructors

Link copied to clipboard
constructor(goalCode: String? = null, comment: String? = null, replacementId: String? = null, multipleAvailable: String? = null, credentialPreview: CredentialPreview)

Properties

Link copied to clipboard
val comment: String? = null

Additional comments related to the credential.

Link copied to clipboard
@SerialName(value = "credential_preview")
val credentialPreview: CredentialPreview

The preview of the credential to be offered.

Link copied to clipboard
@SerialName(value = "goal_code")
val goalCode: String? = null

The goal code associated with the credential.

Link copied to clipboard
@SerialName(value = "multiple_available")
val multipleAvailable: String? = null

Indicates if multiple credentials of the same type are available for selection.

Link copied to clipboard
@SerialName(value = "replacement_id")
val replacementId: String? = null

The ID of the credential being replaced, if applicable.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this Body object to the specified other object for equality.

Link copied to clipboard
open override fun hashCode(): Int

Computes the hash code value for this object.