Editar

Compartir a través de


INRequestPaymentIntentHandling_Extensions.ResolveCurrencyAmount Method

Definition

Overloads

ResolveCurrencyAmount(IINRequestPaymentIntentHandling, INRequestPaymentIntent, Action<INCurrencyAmountResolutionResult>)

Developers should not use this deprecated method. Developers should use 'ResolveCurrencyAmount (INRequestPaymentIntent, Action<INRequestPaymentCurrencyAmountResolutionResult>)' instead.

ResolveCurrencyAmount(IINRequestPaymentIntentHandling, INRequestPaymentIntent, Action<INRequestPaymentCurrencyAmountResolutionResult>)

Developers may implement this method to customize resolution of a currency and amount.

ResolveCurrencyAmount(IINRequestPaymentIntentHandling, INRequestPaymentIntent, Action<INCurrencyAmountResolutionResult>)

Developers should not use this deprecated method. Developers should use 'ResolveCurrencyAmount (INRequestPaymentIntent, Action<INRequestPaymentCurrencyAmountResolutionResult>)' instead.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolveCurrencyAmount (INRequestPaymentIntent, Action<INRequestPaymentCurrencyAmountResolutionResult>)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolveCurrencyAmount (INRequestPaymentIntent, Action<INRequestPaymentCurrencyAmountResolutionResult>)' instead.")]
public static void ResolveCurrencyAmount (this Intents.IINRequestPaymentIntentHandling This, Intents.INRequestPaymentIntent intent, Action<Intents.INCurrencyAmountResolutionResult> completion);
static member ResolveCurrencyAmount : Intents.IINRequestPaymentIntentHandling * Intents.INRequestPaymentIntent * Action<Intents.INCurrencyAmountResolutionResult> -> unit

Parameters

This
IINRequestPaymentIntentHandling

The instance on which this method operates.

intent
INRequestPaymentIntent

Specifies the user's intention.

completion
Action<INCurrencyAmountResolutionResult>

Completion method that must be called by the override.

Attributes

Applies to

ResolveCurrencyAmount(IINRequestPaymentIntentHandling, INRequestPaymentIntent, Action<INRequestPaymentCurrencyAmountResolutionResult>)

Developers may implement this method to customize resolution of a currency and amount.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void ResolveCurrencyAmount (this Intents.IINRequestPaymentIntentHandling This, Intents.INRequestPaymentIntent intent, Action<Intents.INRequestPaymentCurrencyAmountResolutionResult> completion);
static member ResolveCurrencyAmount : Intents.IINRequestPaymentIntentHandling * Intents.INRequestPaymentIntent * Action<Intents.INRequestPaymentCurrencyAmountResolutionResult> -> unit

Parameters

This
IINRequestPaymentIntentHandling

The instance on which this method operates.

intent
INRequestPaymentIntent

Specifies the user's intention.

completion
Action<INRequestPaymentCurrencyAmountResolutionResult>

Completion method that must be called by the override.

Attributes

Applies to