Skip to content

Commit 82e0b13

Browse files
Add status field to Data model
1 parent aa99e03 commit 82e0b13

File tree

1 file changed

+8
-0
lines changed
  • appstoreserverlibrary/models

1 file changed

+8
-0
lines changed

appstoreserverlibrary/models/Data.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import attr
66

77
from .Environment import Environment
8+
from .Status import Status
89

910
@define
1011
class Data:
@@ -54,4 +55,11 @@ class Data:
5455
Subscription renewal information, signed by the App Store, in JSON Web Signature (JWS) format.
5556
5657
https://developer.apple.com/documentation/appstoreserverapi/jwsrenewalinfo
58+
"""
59+
60+
status: Optional[Status] = attr.ib(default=None)
61+
"""
62+
The status of an auto-renewable subscription as of the signedDate in the responseBodyV2DecodedPayload.
63+
64+
https://developer.apple.com/documentation/appstoreservernotifications/status
5765
"""

0 commit comments

Comments
 (0)