Editar

Compartir a través de


PKPaymentAuthorizationControllerDelegate_Extensions.DidSelectShippingContact Method

Definition

Overloads

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

Method that is called when a user selects a contact to ship to.

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

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

Method that is called when a user selects a contact to ship to.

[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

Parameters

This
IPKPaymentAuthorizationControllerDelegate

The instance on which this extension method operates.

controller
PKPaymentAuthorizationController

The controller that owns this delegate.

contact
PKContact

The new shipping address.

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

A handler that takes the payment authorization status, a list of updated shipping method objects, and a list of updated payment summary items.

Attributes

Applies to

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

Parameters

This
IPKPaymentAuthorizationControllerDelegate

The instance on which this extension method operates.

contact
PKContact
Attributes

Applies to