Package apple.passkit.protocol
Interface PKPaymentAuthorizationViewControllerDelegate
-
public interface PKPaymentAuthorizationViewControllerDelegate
-
-
Nested Class Summary
-
Method Summary
-
-
-
Method Detail
-
paymentAuthorizationViewControllerDidAuthorizePaymentCompletion
@Deprecated default void paymentAuthorizationViewControllerDidAuthorizePaymentCompletion(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull PKPayment payment, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidAuthorizePaymentCompletion completion)Deprecated.Deprecated delegate methods These methods are deprecated. Please migrate away from them to their replacements. API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Use paymentAuthorizationViewController:didAuthorizePayment:handler: instead to provide more granular errors
-
paymentAuthorizationViewControllerDidSelectPaymentMethodCompletion
@Deprecated default void paymentAuthorizationViewControllerDidSelectPaymentMethodCompletion(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull PKPaymentMethod paymentMethod, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidSelectPaymentMethodCompletion completion)Deprecated.API-Since: 9.0 Deprecated-Since: 11.0 Deprecated-Message: Use paymentAuthorizationViewController:didSelectPaymentMethod:handler: instead to provide more granular errors
-
paymentAuthorizationViewControllerDidSelectShippingAddressCompletion
@Deprecated default void paymentAuthorizationViewControllerDidSelectShippingAddressCompletion(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull org.moe.natj.general.ptr.ConstVoidPtr address, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidSelectShippingAddressCompletion completion)Deprecated.API-Since: 8.0 Deprecated-Since: 9.0 Deprecated-Message: ABRecordRef has been deprecated. Please migrate away from this delegate callback as soon as possible.
-
paymentAuthorizationViewControllerDidSelectShippingContactCompletion
@Deprecated default void paymentAuthorizationViewControllerDidSelectShippingContactCompletion(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull PKContact contact, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidSelectShippingContactCompletion completion)Deprecated.API-Since: 9.0 Deprecated-Since: 11.0 Deprecated-Message: Use paymentAuthorizationViewController:didSelectShippingContact:handler: instead to provide more granular errors
-
paymentAuthorizationViewControllerDidSelectShippingMethodCompletion
@Deprecated default void paymentAuthorizationViewControllerDidSelectShippingMethodCompletion(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull PKShippingMethod shippingMethod, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidSelectShippingMethodCompletion completion)Deprecated.API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Use paymentAuthorizationViewController:didSelectShippingMethod:handler: instead to provide more granular errors
-
paymentAuthorizationViewControllerDidFinish
void paymentAuthorizationViewControllerDidFinish(@NotNull @NotNull PKPaymentAuthorizationViewController controller)Sent to the delegate when payment authorization is finished. This may occur when the user cancels the request, or after the PKPaymentAuthorizationStatus parameter of the paymentAuthorizationViewController:didAuthorizePayment:completion: has been shown to the user. The delegate is responsible for dismissing the view controller in this method.
-
paymentAuthorizationViewControllerWillAuthorizePayment
default void paymentAuthorizationViewControllerWillAuthorizePayment(@NotNull @NotNull PKPaymentAuthorizationViewController controller)Sent to the delegate before the payment is authorized, but after the user has authenticated using passcode or Touch ID. Optional. API-Since: 8.3
-
paymentAuthorizationViewControllerDidAuthorizePaymentHandler
default void paymentAuthorizationViewControllerDidAuthorizePaymentHandler(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull PKPayment payment, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidAuthorizePaymentHandler completion)Sent to the delegate after the user has acted on the payment request. The application should inspect the payment to determine whether the payment request was authorized. If the application requested a shipping address then the full addresses is now part of the payment. The delegate must call completion with an appropriate authorization status, as may be determined by submitting the payment credential to a processing gateway for payment authorization. API-Since: 11.0
-
paymentAuthorizationViewControllerDidSelectPaymentMethodHandler
default void paymentAuthorizationViewControllerDidSelectPaymentMethodHandler(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull PKPaymentMethod paymentMethod, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidSelectPaymentMethodHandler completion)Sent when the user has selected a new payment card. Use this delegate callback if you need to update the summary items in response to the card type changing (for example, applying credit card surcharges) The delegate will receive no further callbacks except paymentAuthorizationViewControllerDidFinish: until it has invoked the completion block. API-Since: 11.0
-
paymentAuthorizationViewControllerDidSelectShippingContactHandler
default void paymentAuthorizationViewControllerDidSelectShippingContactHandler(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull PKContact contact, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidSelectShippingContactHandler completion)Sent when the user has selected a new shipping address. The delegate should inspect the address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. The delegate will receive no further callbacks except paymentAuthorizationViewControllerDidFinish: until it has invoked the completion block. API-Since: 11.0
-
paymentAuthorizationViewControllerDidSelectShippingMethodHandler
default void paymentAuthorizationViewControllerDidSelectShippingMethodHandler(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull PKShippingMethod shippingMethod, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidSelectShippingMethodHandler completion)Sent when the user has selected a new shipping method. The delegate should determine shipping costs based on the shipping method and either the shipping address supplied in the original PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationViewController: didSelectShippingAddress:completion:. The delegate must invoke the completion block with an updated array of PKPaymentSummaryItem objects. The delegate will receive no further callbacks except paymentAuthorizationViewControllerDidFinish: until it has invoked the completion block. API-Since: 11.0
-
paymentAuthorizationViewControllerDidRequestMerchantSessionUpdate
default void paymentAuthorizationViewControllerDidRequestMerchantSessionUpdate(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidRequestMerchantSessionUpdate handler)API-Since: 14.0
-
paymentAuthorizationViewControllerDidChangeCouponCodeHandler
default void paymentAuthorizationViewControllerDidChangeCouponCodeHandler(@NotNull @NotNull PKPaymentAuthorizationViewController controller, @NotNull @NotNull java.lang.String couponCode, @NotNull @NotNull PKPaymentAuthorizationViewControllerDelegate.Block_paymentAuthorizationViewControllerDidChangeCouponCodeHandler completion)API-Since: 15.0
-
-