appstoreserverlibrary.models.DecodedRealtimeRequestBody module¶
- class appstoreserverlibrary.models.DecodedRealtimeRequestBody.DecodedRealtimeRequestBody(originalTransactionId: str, appAppleId: int, productId: str, userLocale: str, requestIdentifier: UUID, signedDate: int, environment: Environment | None = None, *, rawEnvironment: str = NOTHING)[source]¶
Bases:
AttrsRawValueAwareThe decoded request body the App Store sends to your server to request a real-time retention message.
https://developer.apple.com/documentation/retentionmessaging/decodedrealtimerequestbody
- appAppleId: int¶
The unique identifier of the app in the App Store.
https://developer.apple.com/documentation/retentionmessaging/appappleid
- environment: Environment | None¶
The server environment, either sandbox or production.
https://developer.apple.com/documentation/retentionmessaging/environment
- originalTransactionId: str¶
The original transaction identifier of the customer’s subscription.
https://developer.apple.com/documentation/retentionmessaging/originaltransactionid
- productId: str¶
The unique identifier of the auto-renewable subscription.
https://developer.apple.com/documentation/retentionmessaging/productid
- rawEnvironment: str¶
See environment
- requestIdentifier: UUID¶
A UUID the App Store server creates to uniquely identify each request.
https://developer.apple.com/documentation/retentionmessaging/requestidentifier
- signedDate: int¶
The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature (JWS) data.
https://developer.apple.com/documentation/retentionmessaging/signeddate
- userLocale: str¶
The device’s locale.
https://developer.apple.com/documentation/retentionmessaging/locale