Package apple.passkit

Class PKPayment

  • All Implemented Interfaces:
    NSObject

    public class PKPayment
    extends NSObject
    PKPayment represents the result of a payment request. Successful payments have a PKPaymentToken which contains a payment credential encrypted to the merchant identifier specified in the request, and when requested, the user's shipping address and chosen shipping method. API-Since: 8.0
    • Constructor Detail

      • PKPayment

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static PKPayment 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)
      • new_objc

        public static PKPayment new_objc()
      • 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()
      • billingAddress

        @Nullable
        @Deprecated
        public @Nullable org.moe.natj.general.ptr.ConstVoidPtr billingAddress()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 9.0 Deprecated-Message: Use billingContact instead
      • billingContact

        @Nullable
        public @Nullable PKContact billingContact()
        The full billing address that the user selected for this transaction. Fields are constrained to those specified in the requiredBillingAddressFields property of the original PKPaymentRequest object. This property is only set when the application has set the requiredBillingAddressFields property of the PKPaymentRequest. API-Since: 9.0
      • shippingAddress

        @Nullable
        @Deprecated
        public @Nullable org.moe.natj.general.ptr.ConstVoidPtr shippingAddress()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 9.0 Deprecated-Message: Use shippingContact instead
      • shippingContact

        @Nullable
        public @Nullable PKContact shippingContact()
        The full shipping address that the user selected for this transaction. Fields are constrained to those specified in the requiredShippingAddressFields property of the original PKPaymentRequest object. This property is only set when the application has set the requiredShippingAddressFields property of the PKPaymentRequest. API-Since: 9.0
      • shippingMethod

        @Nullable
        public @Nullable PKShippingMethod shippingMethod()
        The shipping method that the user chose. This property is only set when the application has set the shippingMethods property of the PKPaymentRequest.
      • token

        @NotNull
        public @NotNull PKPaymentToken token()
        A PKPaymentToken which contains an encrypted payment credential.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.