Skip to content

Commit

Permalink
Rename to CredentialSchemaInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolezhniuk committed Jan 24, 2025
1 parent b52a847 commit 7f9e254
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions protocol/transparent_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down

0 comments on commit 7f9e254

Please sign in to comment.