Skip to content

Commit 948f9d1

Browse files
author
Mustafa Yavuz
committed
update notification v2 data fields
1 parent 7e8f760 commit 948f9d1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

model.go

+8-6
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,14 @@ type NotificationPayload struct {
308308
// Notification Data
309309
type NotificationData struct {
310310
jwt.RegisteredClaims
311-
AppAppleID int `json:"appAppleId"`
312-
BundleID string `json:"bundleId"`
313-
BundleVersion string `json:"bundleVersion"`
314-
Environment string `json:"environment"`
315-
SignedRenewalInfo string `json:"signedRenewalInfo"`
316-
SignedTransactionInfo string `json:"signedTransactionInfo"`
311+
AppAppleID int `json:"appAppleId"`
312+
BundleID string `json:"bundleId"`
313+
BundleVersion string `json:"bundleVersion"`
314+
ConsumptionRequestReason string `json:"consumptionRequestReason"`
315+
Environment string `json:"environment"`
316+
SignedRenewalInfo string `json:"signedRenewalInfo"`
317+
SignedTransactionInfo string `json:"signedTransactionInfo"`
318+
Status int `json:"status"`
317319
}
318320

319321
// Notification Transaction Info

0 commit comments

Comments
 (0)