Compartilhar via


PKPaymentAuthorizationControllerDelegate_Extensions.DidSelectShippingContact Método

Definição

Sobrecargas

DidSelectShippingContact(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKContact, Action<PKPaymentAuthorizationStatus, PKShippingMethod[],PKPaymentSummaryItem[]>)

Método que é chamado quando um usuário seleciona um contato para o qual enviar.

DidSelectShippingContact(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKContact, Action<PKPaymentRequestShippingContactUpdate>)

DidSelectShippingContact(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKContact, Action<PKPaymentAuthorizationStatus, PKShippingMethod[],PKPaymentSummaryItem[]>)

Método que é chamado quando um usuário seleciona um contato para o qual enviar.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectShippingContact' overload with the 'Action<PKPaymentRequestShippingContactUpdate>' parameter instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectShippingContact' overload with the 'Action<PKPaymentRequestShippingContactUpdate>' parameter instead.")]
public static void DidSelectShippingContact (this PassKit.IPKPaymentAuthorizationControllerDelegate This, PassKit.PKPaymentAuthorizationController controller, PassKit.PKContact contact, Action<PassKit.PKPaymentAuthorizationStatus,PassKit.PKShippingMethod[],PassKit.PKPaymentSummaryItem[]> completion);
static member DidSelectShippingContact : PassKit.IPKPaymentAuthorizationControllerDelegate * PassKit.PKPaymentAuthorizationController * PassKit.PKContact * Action<PassKit.PKPaymentAuthorizationStatus, PassKit.PKShippingMethod[], PassKit.PKPaymentSummaryItem[]> -> unit

Parâmetros

This
IPKPaymentAuthorizationControllerDelegate

A instância na qual esse método de extensão opera.

controller
PKPaymentAuthorizationController

O controlador que possui esse delegado.

contact
PKContact

O novo endereço de envio.

completion
Action<PKPaymentAuthorizationStatus,PKShippingMethod[],PKPaymentSummaryItem[]>

Um manipulador que usa o status de autorização de pagamento, uma lista de objetos de método de envio atualizados e uma lista de itens de resumo de pagamento atualizados.

Atributos

Aplica-se a

DidSelectShippingContact(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKContact, Action<PKPaymentRequestShippingContactUpdate>)

[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 DidSelectShippingContact (this PassKit.IPKPaymentAuthorizationControllerDelegate This, PassKit.PKPaymentAuthorizationController controller, PassKit.PKContact contact, Action<PassKit.PKPaymentRequestShippingContactUpdate> completion);
static member DidSelectShippingContact : PassKit.IPKPaymentAuthorizationControllerDelegate * PassKit.PKPaymentAuthorizationController * PassKit.PKContact * Action<PassKit.PKPaymentRequestShippingContactUpdate> -> unit

Parâmetros

This
IPKPaymentAuthorizationControllerDelegate

A instância na qual esse método de extensão opera.

contact
PKContact
Atributos

Aplica-se a