Share via


IPKPaymentAuthorizationControllerDelegate.DidSelectShippingMethod Method

Definition

Overloads

DidSelectShippingMethod(PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)

[Foundation.Export("paymentAuthorizationController:didSelectShippingMethod:handler:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidSelectShippingMethod(PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentRequestPaymentMethodUpdate> completion);
[<Foundation.Export("paymentAuthorizationController:didSelectShippingMethod:handler:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidSelectShippingMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit
override this.DidSelectShippingMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit

Parameters

paymentMethod
PKPaymentMethod
Attributes

Applies to

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

Method that is called when a user selects a new shipping method.

[Foundation.Export("paymentAuthorizationController:didSelectShippingMethod:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidSelectShippingMethod(PassKit.PKPaymentAuthorizationController controller, PassKit.PKShippingMethod shippingMethod, Action<PassKit.PKPaymentAuthorizationStatus,PassKit.PKPaymentSummaryItem[]> completion);
[<Foundation.Export("paymentAuthorizationController:didSelectShippingMethod:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidSelectShippingMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKShippingMethod * Action<PassKit.PKPaymentAuthorizationStatus, PassKit.PKPaymentSummaryItem[]> -> unit
override this.DidSelectShippingMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKShippingMethod * Action<PassKit.PKPaymentAuthorizationStatus, PassKit.PKPaymentSummaryItem[]> -> unit

Parameters

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

Applies to