Package apple.passkit

Class PKPaymentAuthorizationController

  • All Implemented Interfaces:
    NSObject

    public class PKPaymentAuthorizationController
    extends NSObject
    PKPaymentAuthorizationController prompts the user to authorize a PKPaymentRequest, funding the payment amount with a valid payment card. API-Since: 10.0
    • Constructor Detail

      • PKPaymentAuthorizationController

        protected PKPaymentAuthorizationController​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • canMakePayments

        public static boolean canMakePayments()
        Determine whether this device can process payment requests. YES if the device is generally capable of making in-app payments. NO if the device cannot make in-app payments or if the user is restricted from authorizing payments.
      • canMakePaymentsUsingNetworks

        public static boolean canMakePaymentsUsingNetworks​(@NotNull
                                                           @NotNull NSArray<java.lang.String> supportedNetworks)
        Determine whether this device can process payment requests using specific payment network brands. Your application should confirm that the user can make payments before attempting to authorize a payment. Your application may also want to alter its appearance or behavior when the user is not allowed to make payments. YES if the user can authorize payments on this device using one of the payment networks supported by the merchant. NO if the user cannot authorize payments on these networks or if the user is restricted from authorizing payments.
      • canMakePaymentsUsingNetworksCapabilities

        public static boolean canMakePaymentsUsingNetworksCapabilities​(@NotNull
                                                                       @NotNull NSArray<java.lang.String> supportedNetworks,
                                                                       long capabilties)
        Determine whether this device can process payments using the specified networks and capabilities bitmask See +canMakePaymentsUsingNetworks:
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • dismissWithCompletion

        public void dismissWithCompletion​(@Nullable
                                          @Nullable PKPaymentAuthorizationController.Block_dismissWithCompletion completion)
        Dismisses the Apple Pay UI. Call this when you receive the paymentAuthorizationControllerDidFinish delegate callback, or otherwise wish a dismissal to occur
      • supportsDisbursements

        public static boolean supportsDisbursements()
        Determine whether this device can process disbursement requests. API-Since: 17.0
      • supportsDisbursementsUsingNetworks

        public static boolean supportsDisbursementsUsingNetworks​(@NotNull
                                                                 @NotNull NSArray<java.lang.String> supportedNetworks)
        Determine whether this device can process disbursement requests using specific payment network brands. API-Since: 17.0
      • supportsDisbursementsUsingNetworksCapabilities

        public static boolean supportsDisbursementsUsingNetworksCapabilities​(@NotNull
                                                                             @NotNull NSArray<java.lang.String> supportedNetworks,
                                                                             long capabilties)
        Determine whether this device can process disbursements to cards issued in any of the indicated regions using the specified networks and capabilities bitmask. supportedRegions is a list of ISO 3166 country codes. Duplicates are ignored. API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.