Source code for appstoreserverlibrary.models.RevocationReason
# Copyright (c) 2023 Apple Inc. Licensed under MIT License.
from enum import IntEnum
from .LibraryUtility import AppStoreServerLibraryEnumMeta
[docs]
class RevocationReason(IntEnum, metaclass=AppStoreServerLibraryEnumMeta):
"""
The reason for a refunded transaction.
https://developer.apple.com/documentation/appstoreserverapi/revocationreason
"""
REFUNDED_DUE_TO_ISSUE = 1
REFUNDED_FOR_OTHER_REASON = 0