Class SubscriptionInfo


  • public final class SubscriptionInfo
    extends java.lang.Object
    Contains information about the user's subscription. An object of this class is provided by PortalInfo.getSubscriptionInfo().
    Since:
    100.9.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SubscriptionInfo.State
      Signifies the state of the user's subscription.
    • Method Detail

      • getExpiryDate

        public java.util.Calendar getExpiryDate()
        Gets the expiry date of the user's subscription.
        Returns:
        the expiry date of the user's subscription; always a GregorianCalendar using UTC time zone and English locale
        Since:
        100.9.0
      • getSubscriptionState

        public SubscriptionInfo.State getSubscriptionState()
        Gets the current state of the user's subscription.
        Returns:
        the current state of the user's subscription
        Since:
        100.9.0