unsupported(forReason:)
Creates an object whose resolution indicates that the specified value is not supported.
Declaration
class func unsupported(forReason reason: INSendPaymentCurrencyAmountUnsupportedReason) -> SelfParameters
- reason:
The reason why the currency amount is unsupported. For a list of possible values, see Insendpaymentcurrencyamountunsupportedreason.
Return Value
A new INSendPaymentCurrencyAmountResolutionResult object.
Discussion
Use this method when the specified currency amount does not met the payment criteria for your service. For example, you might specify this value when the user attempts to send money in an unsupported currency or the transfer exceeds the maximum limit for the user’s account.