Edytuj

Udostępnij za pośrednictwem


INSendPaymentIntentResponseCode Enum

Definition

Enumerates results codes for the INSendPaymentIntent.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public enum INSendPaymentIntentResponseCode
type INSendPaymentIntentResponseCode = 
Inheritance
INSendPaymentIntentResponseCode
Attributes

Fields

Name Value Description
Unspecified 0

Indicates that no explicit response code was provided.

Ready 1

Developers should return this during the confirmation phase, indicating the extension's ability to handle the intent.

InProgress 2

Developers should use this code to indicate they have not finished processing.

Success 3

Developers should use this response code to indicate that the extension successfully processed the intent.

Failure 4

Developers should use this code to indicate that they failed to process the intent.

FailureRequiringAppLaunch 5

Developers should use this code to indicate that they failed to process the intent and further processing must be done in the app.

FailureCredentialsUnverified 6

Developers should use this code to indicate a failure in verifying credentials.

FailurePaymentsAmountBelowMinimum 7

Developers should use this code to indicate a failure because the payment is too small.

FailurePaymentsAmountAboveMaximum 8

Developers should use this code to indicate a failure because the payment exceeds the allowed maximum.

FailurePaymentsCurrencyUnsupported 9

Developers should use this code to indicate a failure because the requested currency is not supported.

FailureInsufficientFunds 10

Developers should use this code to indicate that the payment could not be made due to insufficient funds.

FailureNoBankAccount 11

Developers should use this code to indicate a failure because no bank account is configured.

FailureNotEligible 12

Developers should use this code to indicate they failed to process the intent because the user is not eligible to perform the transaction.

FailureTermsAndConditionsAcceptanceRequired 13

Applies to