@bloock/sdk / CredentialReceipt
Class: CredentialReceipt
Represents a receipt for a credential, including the credential itself, its ID, and type.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new CredentialReceipt(credential
, credentialId
, credentialType
): CredentialReceipt
Constructs an CredentialReceipt object with the specified parameters.
Parameters
Name | Type |
---|---|
credential | Credential |
credentialId | string |
credentialType | string |
Returns
Defined in
entity/identity/credential_receipt.ts:18
Properties
credential
• credential: Credential
Defined in
entity/identity/credential_receipt.ts:8
credentialId
• credentialId: string
Defined in
entity/identity/credential_receipt.ts:9
credentialType
• credentialType: string
Defined in
entity/identity/credential_receipt.ts:10
Methods
toProto
▸ toProto(): CredentialReceipt
Returns
CredentialReceipt
Defined in
entity/identity/credential_receipt.ts:28
fromProto
▸ fromProto(r
): CredentialReceipt
Parameters
Name | Type |
---|---|
r | CredentialReceipt |