# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.10

import enum

import winsdk.system

_ns_module = winsdk.system._import_ns_module("Windows.ApplicationModel.Payments")

try:
    import winsdk.windows.foundation
except ImportError:
    pass

try:
    import winsdk.windows.foundation.collections
except ImportError:
    pass

class PaymentCanMakePaymentResultStatus(enum.IntEnum):
    UNKNOWN = 0
    YES = 1
    NO = 2
    NOT_ALLOWED = 3
    USER_NOT_SIGNED_IN = 4
    SPECIFIED_PAYMENT_METHOD_IDS_NOT_SUPPORTED = 5
    NO_QUALIFYING_CARD_ON_FILE = 6

class PaymentOptionPresence(enum.IntEnum):
    NONE = 0
    OPTIONAL = 1
    REQUIRED = 2

class PaymentRequestChangeKind(enum.IntEnum):
    SHIPPING_OPTION = 0
    SHIPPING_ADDRESS = 1

class PaymentRequestCompletionStatus(enum.IntEnum):
    SUCCEEDED = 0
    FAILED = 1
    UNKNOWN = 2

class PaymentRequestStatus(enum.IntEnum):
    SUCCEEDED = 0
    FAILED = 1
    CANCELED = 2

class PaymentShippingType(enum.IntEnum):
    SHIPPING = 0
    DELIVERY = 1
    PICKUP = 2

_ns_module._register_PaymentCanMakePaymentResultStatus(PaymentCanMakePaymentResultStatus)
_ns_module._register_PaymentOptionPresence(PaymentOptionPresence)
_ns_module._register_PaymentRequestChangeKind(PaymentRequestChangeKind)
_ns_module._register_PaymentRequestCompletionStatus(PaymentRequestCompletionStatus)
_ns_module._register_PaymentRequestStatus(PaymentRequestStatus)
_ns_module._register_PaymentShippingType(PaymentShippingType)

PaymentAddress = _ns_module.PaymentAddress
PaymentCanMakePaymentResult = _ns_module.PaymentCanMakePaymentResult
PaymentCurrencyAmount = _ns_module.PaymentCurrencyAmount
PaymentDetails = _ns_module.PaymentDetails
PaymentDetailsModifier = _ns_module.PaymentDetailsModifier
PaymentItem = _ns_module.PaymentItem
PaymentMediator = _ns_module.PaymentMediator
PaymentMerchantInfo = _ns_module.PaymentMerchantInfo
PaymentMethodData = _ns_module.PaymentMethodData
PaymentOptions = _ns_module.PaymentOptions
PaymentRequest = _ns_module.PaymentRequest
PaymentRequestChangedArgs = _ns_module.PaymentRequestChangedArgs
PaymentRequestChangedResult = _ns_module.PaymentRequestChangedResult
PaymentRequestSubmitResult = _ns_module.PaymentRequestSubmitResult
PaymentResponse = _ns_module.PaymentResponse
PaymentShippingOption = _ns_module.PaymentShippingOption
PaymentToken = _ns_module.PaymentToken
