CredentialRecord(id: String, connectionContext: ConnectionContext, @Json("State") state: String)
Credential record
Represents a credential record in the agency wallet. The current class has three sub-classes.
The each sub-class relates to kind of CredentialState and can be convert to the next state by
means method like toRequestedCredential
and etc.