// // INSendPaymentCurrencyAmountResolutionResult.h // Intents // // Copyright (c) 2016-2023 Apple Inc. All rights reserved. // #import typedef NS_ENUM(NSInteger, INSendPaymentCurrencyAmountUnsupportedReason) { INSendPaymentCurrencyAmountUnsupportedReasonPaymentsAmountBelowMinimum = 1, INSendPaymentCurrencyAmountUnsupportedReasonPaymentsAmountAboveMaximum, INSendPaymentCurrencyAmountUnsupportedReasonPaymentsCurrencyUnsupported, } API_AVAILABLE(ios(11.0), watchos(4.0)) API_UNAVAILABLE(macos, tvos); NS_ASSUME_NONNULL_BEGIN API_AVAILABLE(ios(11.0), watchos(4.0)) API_UNAVAILABLE(macos, tvos) @interface INSendPaymentCurrencyAmountResolutionResult : INCurrencyAmountResolutionResult + (instancetype)unsupportedForReason:(INSendPaymentCurrencyAmountUnsupportedReason)reason NS_SWIFT_NAME(unsupported(forReason:)); - (instancetype)initWithCurrencyAmountResolutionResult:(INCurrencyAmountResolutionResult *)currencyAmountResolutionResult; @end NS_ASSUME_NONNULL_END