Share via


IINRequestPaymentIntentHandling.Confirm Method

Definition

Developers may override this method to customize the confirmation of a payment request.

[Foundation.Export("confirmRequestPayment:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Confirm(Intents.INRequestPaymentIntent intent, Action<Intents.INRequestPaymentIntentResponse> completion);
[<Foundation.Export("confirmRequestPayment:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Confirm : Intents.INRequestPaymentIntent * Action<Intents.INRequestPaymentIntentResponse> -> unit
override this.Confirm : 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