Compartilhar via


PKPaymentAuthorizationControllerDelegate.DidSelectPaymentMethod Método

Definição

Sobrecargas

DidSelectPaymentMethod(PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)
DidSelectPaymentMethod(PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentSummaryItem[]>)

Mehod que é chamado quando o usuário seleciona uma forma de pagamento.

DidSelectPaymentMethod(PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)

[Foundation.Export("paymentAuthorizationController:didSelectPaymentMethod:handler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidSelectPaymentMethod (PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentRequestPaymentMethodUpdate> completion);
abstract member DidSelectPaymentMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit
override this.DidSelectPaymentMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit

Parâmetros

paymentMethod
PKPaymentMethod
Atributos

Aplica-se a

DidSelectPaymentMethod(PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentSummaryItem[]>)

Mehod que é chamado quando o usuário seleciona uma forma de pagamento.

[Foundation.Export("paymentAuthorizationController:didSelectPaymentMethod:completion:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectPaymentMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectPaymentMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.")]
public virtual void DidSelectPaymentMethod (PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentSummaryItem[]> completion);
abstract member DidSelectPaymentMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentSummaryItem[]> -> unit
override this.DidSelectPaymentMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentSummaryItem[]> -> unit

Parâmetros

controller
PKPaymentAuthorizationController

O controlador que possui esse delegado.

paymentMethod
PKPaymentMethod

A forma de pagamento selecionada.

completion
Action<PKPaymentSummaryItem[]>

Um manipulador que usa uma lista de itens de resumo de pagamento atualizados.

Atributos

Aplica-se a