Share via


IINSendPaymentIntentHandling.HandleSendPayment Method

Definition

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

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

Parameters

intent
INSendPaymentIntent

Specifies the user's intention.

completion
Action<INSendPaymentIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to