Source code for appstoreserverlibrary.models.Platform
# Copyright (c) 2023 Apple Inc. Licensed under MIT License.
from enum import IntEnum
from .LibraryUtility import AppStoreServerLibraryEnumMeta
[docs]
class Platform(IntEnum, metaclass=AppStoreServerLibraryEnumMeta):
"""
The platform on which the customer consumed the in-app purchase.
https://developer.apple.com/documentation/appstoreserverapi/platform
"""
UNDECLARED = 0
APPLE = 1
NON_APPLE = 2