Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JWSTransactionPayload ¶
type JWSTransactionPayload struct {
AppAccountToken string `json:"appAccountToken"`
BundleId string `json:"bundleId"`
Environment string `json:"environment"`
ExpiresDate int64 `json:"expiresDate"`
InAppOwnershipType string `json:"inAppOwnershipType"`
IsUpgraded bool `json:"isUpgraded"`
OfferIdentifier string `json:"offerIdentifier"`
OfferType int32 `json:"offerType"`
OriginalPurchaseDate int64 `json:"originalPurchaseDate"`
OriginalTransactionId string `json:"originalTransactionId"`
ProductId string `json:"productId"`
PurchaseDate int64 `json:"purchaseDate"`
Quantity int64 `json:"quantity"`
RevocationDate int64 `json:"revocationDate"`
RevocationReason int32 `json:"revocationReason"`
SignedDate int64 `json:"signedDate"`
SubscriptionGroupIdentifier string `json:"subscriptionGroupIdentifier"`
TransactionId string `json:"transactionId"`
Type string `json:"type"`
WebOrderLineItemId string `json:"webOrderLineItemId"`
}
https://developer.apple.com/documentation/appstoreservernotifications/jwstransactiondecodedpayload
func (JWSTransactionPayload) Valid ¶
func (jpl JWSTransactionPayload) Valid() error
Click to show internal directories.
Click to hide internal directories.