Package apple.passkit

Class PKPaymentToken

  • All Implemented Interfaces:
    NSObject

    public class PKPaymentToken
    extends NSObject
    Contains the user's payment credentials, encrypted to the merchant. API-Since: 8.0
    • Constructor Detail

      • PKPaymentToken

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static PKPaymentToken allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • 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()
      • paymentData

        @NotNull
        public @NotNull NSData paymentData()
        UTF-8 encoded JSON dictionary of encrypted payment data. Ready for transmission to merchant's e-commerce backend for decryption and submission to a payment processor's gateway.
      • paymentInstrumentName

        @NotNull
        @Deprecated
        public @NotNull java.lang.String paymentInstrumentName()
        Deprecated.
        A string that describes the payment instrument the user has selected to fund the payment. Suitable for display, e.g. "Amex 1234". API-Since: 8.0 Deprecated-Since: 9.0 Deprecated-Message: Use paymentMethod instead
      • paymentMethod

        @NotNull
        public @NotNull PKPaymentMethod paymentMethod()
        Describes the properties of the underlying payment instrument selected to fund the payment API-Since: 9.0
      • paymentNetwork

        @NotNull
        @Deprecated
        public @NotNull java.lang.String paymentNetwork()
        Deprecated.
        Payment network for the card that funds the payment. API-Since: 8.0 Deprecated-Since: 9.0 Deprecated-Message: Use paymentMethod instead
      • transactionIdentifier

        @NotNull
        public @NotNull java.lang.String transactionIdentifier()
        A string that describes a globally unique identifier for this transaction that can be used for receipt purposes.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.