appstoreserverlibrary.models.Data module

class appstoreserverlibrary.models.Data.Data(environment: Environment | None = None, appAppleId: int | None = None, bundleId: str | None = None, bundleVersion: str | None = None, signedTransactionInfo: str | None = None, signedRenewalInfo: str | None = None, status: Status | None = None, consumptionRequestReason: ConsumptionRequestReason | None = None, *, rawEnvironment: str | None = None, rawStatus: int | None = None, rawConsumptionRequestReason: str | None = None)[source]

Bases: AttrsRawValueAware

The app metadata and the signed renewal and transaction information.

https://developer.apple.com/documentation/appstoreservernotifications/data

appAppleId: int | None

The unique identifier of an app in the App Store.

https://developer.apple.com/documentation/appstoreservernotifications/appappleid

bundleId: str | None

The bundle identifier of an app.

https://developer.apple.com/documentation/appstoreserverapi/bundleid

bundleVersion: str | None

The version of the build that identifies an iteration of the bundle.

https://developer.apple.com/documentation/appstoreservernotifications/bundleversion

consumptionRequestReason: ConsumptionRequestReason | None

The reason the customer requested the refund.

https://developer.apple.com/documentation/appstoreservernotifications/consumptionrequestreason

environment: Environment | None

The server environment that the notification applies to, either sandbox or production.

https://developer.apple.com/documentation/appstoreservernotifications/environment

rawConsumptionRequestReason: str | None

See consumptionRequestReason

rawEnvironment: str | None

See environment

rawStatus: int | None

See status

signedRenewalInfo: str | None

Subscription renewal information, signed by the App Store, in JSON Web Signature (JWS) format.

https://developer.apple.com/documentation/appstoreserverapi/jwsrenewalinfo

signedTransactionInfo: str | None

Transaction information signed by the App Store, in JSON Web Signature (JWS) format.

https://developer.apple.com/documentation/appstoreserverapi/jwstransaction

status: Status | None

The status of an auto-renewable subscription as of the signedDate in the responseBodyV2DecodedPayload.

https://developer.apple.com/documentation/appstoreservernotifications/status