Skip to content

Commit

Permalink
Update PaymentEntity notes to support optional values
Browse files Browse the repository at this point in the history
  • Loading branch information
vamsii777 committed Feb 27, 2025
1 parent dc69dc1 commit 80d8550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Razorpay/Models/Webhook.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public struct PaymentEntity: Codable {
public let vpa: String?
public let email: String?
public let contact: String?
public let notes: [String: String]?
public let notes: [String: String?]?
public let fee: Int?
public let tax: Int?
public let errorCode: String?
Expand Down Expand Up @@ -236,4 +236,4 @@ public struct RefundEntity: Codable {
case speedProcessed = "speed_processed"
case speedRequested = "speed_requested"
}
}
}

0 comments on commit 80d8550

Please sign in to comment.