Share via


IINRequestPaymentIntentHandling.HandleRequestPayment Method

Definition

Developers must override this method and invoke the Action<T> with an INRequestPaymentIntentResponse appropriate to the INRequestPaymentIntent intent.

[Foundation.Export("handleRequestPayment:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleRequestPayment(Intents.INRequestPaymentIntent intent, Action<Intents.INRequestPaymentIntentResponse> completion);
[<Foundation.Export("handleRequestPayment:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleRequestPayment : Intents.INRequestPaymentIntent * Action<Intents.INRequestPaymentIntentResponse> -> unit
override this.HandleRequestPayment : Intents.INRequestPaymentIntent * Action<Intents.INRequestPaymentIntentResponse> -> unit

Parameters

intent
INRequestPaymentIntent

Specifies the user's intention.

completion
Action<INRequestPaymentIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to