Class SKPayment

    • Constructor Detail

      • SKPayment

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static SKPayment 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 SKPayment new_objc()
      • paymentWithProduct

        public static SKPayment paymentWithProduct​(@NotNull
                                                   @NotNull SKProduct product)
        API-Since: 3.0
      • paymentWithProductIdentifier

        @Deprecated
        public static SKPayment paymentWithProductIdentifier​(@NotNull
                                                             @NotNull java.lang.String identifier)
        Deprecated.
        API-Since: 3.0 Deprecated-Since: 5.0
      • 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()
      • applicationUsername

        @Nullable
        public @Nullable java.lang.String applicationUsername()
        Application-specific user identifier. Optional. API-Since: 7.0
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • mutableCopyWithZone

        @NotNull
        public @NotNull java.lang.Object mutableCopyWithZone​(@Nullable
                                                             @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        mutableCopyWithZone in interface NSMutableCopying
      • productIdentifier

        @NotNull
        public @NotNull java.lang.String productIdentifier()
        Identifier agreed upon with the store. Required. API-Since: 3.0
      • quantity

        public long quantity()
        default: 1. Must be at least 1. API-Since: 3.0
      • requestData

        @Nullable
        public @Nullable NSData requestData()
        Payment request data agreed upon with the store. Optional. API-Since: 3.0
      • simulatesAskToBuyInSandbox

        public boolean simulatesAskToBuyInSandbox()
        Force an "ask to buy" flow for this payment, in the sandbox API-Since: 8.3
      • paymentDiscount

        @Nullable
        public @Nullable SKPaymentDiscount paymentDiscount()
        The relevant data for specifying a discount to be applied to this payment. Optional. API-Since: 12.2
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.