Class SubscriptionInfo


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

      • getExpiryDate

        public 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