aries / net.globalid.aries.features.issuecredential.record / CredentialRecord / ReceivedOffer / toRequestedCredential

toRequestedCredential

fun toRequestedCredential(requestJson: String, requestMetadataJson: String): SentRequest

Converts ReceivedOffer to SentRequest record and copies all tags from previous state to a new one.

Parameters

requestJson - the request json from indy

requestMetadataJson - the request metadata json from indy

Return
the same record in new state.