PKPaymentAuthorizationControllerDelegate.DidSelectShippingContact Method

Definition

Overloads

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

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

DidSelectShippingContact(PKPaymentAuthorizationController, PKContact, Action<PKPaymentRequestShippingContactUpdate>)

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

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

[Foundation.Export("paymentAuthorizationController:didSelectShippingContact:completion:")]
[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 virtual void DidSelectShippingContact (PassKit.PKPaymentAuthorizationController controller, PassKit.PKContact contact, Action<PassKit.PKPaymentAuthorizationStatus,PassKit.PKShippingMethod[],PassKit.PKPaymentSummaryItem[]> completion);
abstract member DidSelectShippingContact : PassKit.PKPaymentAuthorizationController * PassKit.PKContact * Action<PassKit.PKPaymentAuthorizationStatus, PassKit.PKShippingMethod[], PassKit.PKPaymentSummaryItem[]> -> unit
override this.DidSelectShippingContact : PassKit.PKPaymentAuthorizationController * PassKit.PKContact * Action<PassKit.PKPaymentAuthorizationStatus, PassKit.PKShippingMethod[], PassKit.PKPaymentSummaryItem[]> -> unit

Parameters

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(PKPaymentAuthorizationController, PKContact, Action<PKPaymentRequestShippingContactUpdate>)

[Foundation.Export("paymentAuthorizationController:didSelectShippingContact: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 DidSelectShippingContact (PassKit.PKPaymentAuthorizationController controller, PassKit.PKContact contact, Action<PassKit.PKPaymentRequestShippingContactUpdate> completion);
abstract member DidSelectShippingContact : PassKit.PKPaymentAuthorizationController * PassKit.PKContact * Action<PassKit.PKPaymentRequestShippingContactUpdate> -> unit
override this.DidSelectShippingContact : PassKit.PKPaymentAuthorizationController * PassKit.PKContact * Action<PassKit.PKPaymentRequestShippingContactUpdate> -> unit

Parameters

contact
PKContact
Attributes

Applies to