PKPaymentAuthorizationControllerDelegate_Extensions.DidSelectShippingMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DidSelectShippingMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)
[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 DidSelectShippingMethod (this PassKit.IPKPaymentAuthorizationControllerDelegate This, PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentRequestPaymentMethodUpdate> completion);
static member DidSelectShippingMethod : PassKit.IPKPaymentAuthorizationControllerDelegate * PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit
Parameters
The instance on which this extension method operates.
- controller
- PKPaymentAuthorizationController
- paymentMethod
- PKPaymentMethod
- completion
- Action<PKPaymentRequestPaymentMethodUpdate>
- Attributes
Applies to
DidSelectShippingMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKShippingMethod, Action<PKPaymentAuthorizationStatus, PKPaymentSummaryItem[]>)
Method that is called when a user selects a new shipping method.
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectShippingMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectShippingMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.")]
public static void DidSelectShippingMethod (this PassKit.IPKPaymentAuthorizationControllerDelegate This, PassKit.PKPaymentAuthorizationController controller, PassKit.PKShippingMethod shippingMethod, Action<PassKit.PKPaymentAuthorizationStatus,PassKit.PKPaymentSummaryItem[]> completion);
static member DidSelectShippingMethod : PassKit.IPKPaymentAuthorizationControllerDelegate * PassKit.PKPaymentAuthorizationController * PassKit.PKShippingMethod * Action<PassKit.PKPaymentAuthorizationStatus, PassKit.PKPaymentSummaryItem[]> -> unit
Parameters
The instance on which this extension method operates.
- controller
- PKPaymentAuthorizationController
The controller that owns this delegate.
- shippingMethod
- PKShippingMethod
The new shipping method.
- completion
- Action<PKPaymentAuthorizationStatus,PKPaymentSummaryItem[]>
A handler that takes the authorization status for the payment and a list of updated payment summary items.
- Attributes