Class SubscriptionTypeModel


  • public class SubscriptionTypeModel
    extends java.lang.Object
    Represents a service or a subscription type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Getter for description The friendly name of the service this subscription type represents.
      java.lang.Integer getId()
      Getter for id The unique ID number of this subscription type.
      void setDescription​(java.lang.String value)
      Setter for description The friendly name of the service this subscription type represents.
      void setId​(java.lang.Integer value)
      Setter for id The unique ID number of this subscription type.
      java.lang.String toString()
      Returns a JSON string representation of SubscriptionTypeModel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SubscriptionTypeModel

        public SubscriptionTypeModel()
    • Method Detail

      • getId

        public java.lang.Integer getId()
        Getter for id The unique ID number of this subscription type.
      • setId

        public void setId​(java.lang.Integer value)
        Setter for id The unique ID number of this subscription type.
      • getDescription

        public java.lang.String getDescription()
        Getter for description The friendly name of the service this subscription type represents.
      • setDescription

        public void setDescription​(java.lang.String value)
        Setter for description The friendly name of the service this subscription type represents.
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of SubscriptionTypeModel
        Overrides:
        toString in class java.lang.Object