Class SubscriptionType

java.lang.Object
com.intercom.api.resources.subscriptiontypes.types.SubscriptionType

public final class SubscriptionType extends Object
  • Method Details

    • getType

      public String getType()
      Returns:
      The type of the object - subscription
    • getId

      public String getId()
      Returns:
      The unique identifier representing the subscription type.
    • getState

      public SubscriptionType.State getState()
      Returns:
      The state of the subscription type.
    • getDefaultTranslation

      public Translation getDefaultTranslation()
    • getTranslations

      public List<Translation> getTranslations()
      Returns:
      An array of translations objects with the localised version of the subscription type in each available locale within your translation settings.
    • getConsentType

      public SubscriptionType.ConsentType getConsentType()
      Returns:
      Describes the type of consent.
    • getContentTypes

      public List<SubscriptionType.ContentTypesItem> getContentTypes()
      Returns:
      The message types that this subscription supports - can contain email or sms_message.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static SubscriptionType.IdStage builder()