Enum Class TermOfServiceRenewal

java.lang.Object
java.lang.Enum<TermOfServiceRenewal>
de.hybris.platform.subscriptionservices.enums.TermOfServiceRenewal
All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue, Serializable, Comparable<TermOfServiceRenewal>, Constable

public enum TermOfServiceRenewal extends Enum<TermOfServiceRenewal> implements de.hybris.platform.core.HybrisEnumValue
Generated enum TermOfServiceRenewal declared at extension subscriptionservices.
  • Enum Constant Details

    • NON_RENEWING

      public static final TermOfServiceRenewal NON_RENEWING
      Generated enum value for TermOfServiceRenewal.non_renewing declared at extension subscriptionservices.
    • AUTO_RENEWING

      public static final TermOfServiceRenewal AUTO_RENEWING
      Generated enum value for TermOfServiceRenewal.auto_renewing declared at extension subscriptionservices.
    • RENEWS_ONCE

      public static final TermOfServiceRenewal RENEWS_ONCE
      Generated enum value for TermOfServiceRenewal.renews_once declared at extension subscriptionservices.
    • RENEWS_TWICE

      public static final TermOfServiceRenewal RENEWS_TWICE
      Generated enum value for TermOfServiceRenewal.renews_twice declared at extension subscriptionservices.
    • RENEWS_THREE_TIMES

      public static final TermOfServiceRenewal RENEWS_THREE_TIMES
      Generated enum value for TermOfServiceRenewal.renews_three_times declared at extension subscriptionservices.
  • Field Details

  • Method Details

    • values

      public static TermOfServiceRenewal[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TermOfServiceRenewal valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Gets the code of this enum value.
      Specified by:
      getCode in interface de.hybris.platform.core.HybrisEnumValue
      Returns:
      code of value
    • getType

      public String getType()
      Gets the type this enum value belongs to.
      Specified by:
      getType in interface de.hybris.platform.core.HybrisEnumValue
      Returns:
      code of type