Skip to content

Commit

Permalink
chore(playstore): VoidedPurchaseNotification match the other fields a…
Browse files Browse the repository at this point in the history
…nd not be a pointer
  • Loading branch information
kaijietti committed Nov 20, 2023
1 parent 2fe40e7 commit 2a8af1f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions playstore/notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ const (
// Detailed description is following.
// https://developer.android.com/google/play/billing/rtdn-reference#json_specification
type DeveloperNotification struct {
Version string `json:"version"`
PackageName string `json:"packageName"`
EventTimeMillis string `json:"eventTimeMillis"`
SubscriptionNotification SubscriptionNotification `json:"subscriptionNotification,omitempty"`
OneTimeProductNotification OneTimeProductNotification `json:"oneTimeProductNotification,omitempty"`
VoidedPurchaseNotification *VoidedPurchaseNotification `json:"voidedPurchaseNotification,omitempty"`
TestNotification TestNotification `json:"testNotification,omitempty"`
Version string `json:"version"`
PackageName string `json:"packageName"`
EventTimeMillis string `json:"eventTimeMillis"`
SubscriptionNotification SubscriptionNotification `json:"subscriptionNotification,omitempty"`
OneTimeProductNotification OneTimeProductNotification `json:"oneTimeProductNotification,omitempty"`
VoidedPurchaseNotification VoidedPurchaseNotification `json:"voidedPurchaseNotification,omitempty"`
TestNotification TestNotification `json:"testNotification,omitempty"`
}

// SubscriptionNotification has subscription status as notificationType, token and subscription id
Expand Down

0 comments on commit 2a8af1f

Please sign in to comment.