Package apple.passkit

Class PKRecurringPaymentRequest

  • All Implemented Interfaces:
    NSObject

    public class PKRecurringPaymentRequest
    extends NSObject
    Represents a request to set up a recurring payment, typically a subscription. This request will receive a merchant-specific payment token, if the payment network supports merchant-specific payment tokens. API-Since: 16.0
    • Constructor Detail

      • PKRecurringPaymentRequest

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

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

        @Nullable
        public @Nullable java.lang.String billingAgreement()
        Optional, localized billing agreement to be displayed to the user prior to payment authorization.
      • 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()
      • initWithPaymentDescriptionRegularBillingManagementURL

        public PKRecurringPaymentRequest initWithPaymentDescriptionRegularBillingManagementURL​(@NotNull
                                                                                               @NotNull java.lang.String paymentDescription,
                                                                                               @NotNull
                                                                                               @NotNull PKRecurringPaymentSummaryItem regularBilling,
                                                                                               @NotNull
                                                                                               @NotNull NSURL managementURL)
      • 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)
      • managementURL

        @NotNull
        public @NotNull NSURL managementURL()
        A URL that links to a page on your web site where the user can manage the payment method for this recurring payment, including deleting it.
      • paymentDescription

        @NotNull
        public @NotNull java.lang.String paymentDescription()
        A description of the recurring payment, for example "Apple News+".
      • regularBilling

        @NotNull
        public @NotNull PKRecurringPaymentSummaryItem regularBilling()
        The regular billing cycle, for example "$9.99 monthly".
      • resolveClassMethod

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

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

        public void setBillingAgreement​(@Nullable
                                        @Nullable java.lang.String value)
        Optional, localized billing agreement to be displayed to the user prior to payment authorization.
      • setManagementURL

        public void setManagementURL​(@NotNull
                                     @NotNull NSURL value)
        A URL that links to a page on your web site where the user can manage the payment method for this recurring payment, including deleting it.
      • setPaymentDescription

        public void setPaymentDescription​(@NotNull
                                          @NotNull java.lang.String value)
        A description of the recurring payment, for example "Apple News+".
      • setRegularBilling

        public void setRegularBilling​(@NotNull
                                      @NotNull PKRecurringPaymentSummaryItem value)
        The regular billing cycle, for example "$9.99 monthly".
      • setTokenNotificationURL

        public void setTokenNotificationURL​(@Nullable
                                            @Nullable NSURL value)
        Optional URL to receive lifecycle notifications for the merchant-specific payment token issued for this request, if applicable. If this property is not set, notifications will not be sent when lifecycle changes occur for the token, for example when the token is deleted.
      • setTrialBilling

        public void setTrialBilling​(@Nullable
                                    @Nullable PKRecurringPaymentSummaryItem value)
        Optional, trial billing cycle, for example "$1.99 for the first six months".
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        @Nullable
        public @Nullable NSURL tokenNotificationURL()
        Optional URL to receive lifecycle notifications for the merchant-specific payment token issued for this request, if applicable. If this property is not set, notifications will not be sent when lifecycle changes occur for the token, for example when the token is deleted.
      • trialBilling

        @Nullable
        public @Nullable PKRecurringPaymentSummaryItem trialBilling()
        Optional, trial billing cycle, for example "$1.99 for the first six months".
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.