From 7f9e2549e01ca02e33c8bdadf2e20e9d454eaac2 Mon Sep 17 00:00:00 2001 From: Kolezhniuk Date: Fri, 24 Jan 2025 10:19:26 +0100 Subject: [PATCH] Rename to CredentialSchemaInfo --- protocol/transparent_payment.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/protocol/transparent_payment.go b/protocol/transparent_payment.go index 5147137..f7d755e 100644 --- a/protocol/transparent_payment.go +++ b/protocol/transparent_payment.go @@ -28,14 +28,14 @@ type TransparentPaymentInstructionMessage struct { // TransparentPaymentInstructionMessageBody represents the body of the transparent payment instruction message type TransparentPaymentInstructionMessageBody struct { - GoalCode string `json:"goal_code"` - DID string `json:"did,omitempty"` - Credentials []TransparentCredential `json:"credentials"` - PaymentData TransparentPaymentData `json:"paymentData"` + GoalCode string `json:"goal_code"` + DID string `json:"did,omitempty"` + Credentials []CredentialSchemaInfo `json:"credentials"` + PaymentData TransparentPaymentData `json:"paymentData"` } -// TransparentCredential represents credential information in the transparent payment instruction -type TransparentCredential struct { +// CredentialSchemaInfo represents credential information in the transparent payment instruction +type CredentialSchemaInfo struct { Context string `json:"context"` Type string `json:"type"` }