Skip to content

Commit

Permalink
Merge pull request #10 from myavuzgit/master
Browse files Browse the repository at this point in the history
update notification v2 data fields
  • Loading branch information
richzw authored May 24, 2024
2 parents 7e8f760 + 948f9d1 commit e71bbdb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions model.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,14 @@ type NotificationPayload struct {
// Notification Data
type NotificationData struct {
jwt.RegisteredClaims
AppAppleID int `json:"appAppleId"`
BundleID string `json:"bundleId"`
BundleVersion string `json:"bundleVersion"`
Environment string `json:"environment"`
SignedRenewalInfo string `json:"signedRenewalInfo"`
SignedTransactionInfo string `json:"signedTransactionInfo"`
AppAppleID int `json:"appAppleId"`
BundleID string `json:"bundleId"`
BundleVersion string `json:"bundleVersion"`
ConsumptionRequestReason string `json:"consumptionRequestReason"`
Environment string `json:"environment"`
SignedRenewalInfo string `json:"signedRenewalInfo"`
SignedTransactionInfo string `json:"signedTransactionInfo"`
Status int `json:"status"`
}

// Notification Transaction Info
Expand Down

0 comments on commit e71bbdb

Please sign in to comment.