Source code for appstoreserverlibrary.models.Subtype
# Copyright (c) 2023 Apple Inc. Licensed under MIT License.
from enum import Enum
from .LibraryUtility import AppStoreServerLibraryEnumMeta
[docs]
class Subtype(str, Enum, metaclass=AppStoreServerLibraryEnumMeta):
"""
A string that provides details about select notification types in version 2.
https://developer.apple.com/documentation/appstoreservernotifications/subtype
"""
INITIAL_BUY = "INITIAL_BUY"
RESUBSCRIBE = "RESUBSCRIBE"
DOWNGRADE = "DOWNGRADE"
UPGRADE = "UPGRADE"
AUTO_RENEW_ENABLED = "AUTO_RENEW_ENABLED"
AUTO_RENEW_DISABLED = "AUTO_RENEW_DISABLED"
VOLUNTARY = "VOLUNTARY"
BILLING_RETRY = "BILLING_RETRY"
PRICE_INCREASE = "PRICE_INCREASE"
GRACE_PERIOD = "GRACE_PERIOD"
PENDING = "PENDING"
ACCEPTED = "ACCEPTED"
BILLING_RECOVERY = "BILLING_RECOVERY"
PRODUCT_NOT_FOR_SALE = "PRODUCT_NOT_FOR_SALE"
SUMMARY = "SUMMARY"
FAILURE = "FAILURE"
UNREPORTED = "UNREPORTED"