Enum Class PriceType

java.lang.Object
java.lang.Enum<PriceType>
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.PriceType
All Implemented Interfaces:
Serializable, Comparable<PriceType>, Constable

public enum PriceType extends Enum<PriceType>
Gets or Sets PriceType
  • Enum Constant Details

    • RECURRING

      public static final PriceType RECURRING
    • ONETIME

      public static final PriceType ONETIME
    • USAGE

      public static final PriceType USAGE
    • PRODUCT_PRICE

      public static final PriceType PRODUCT_PRICE
    • DELIVERY_COST

      public static final PriceType DELIVERY_COST
    • PAYMENT_COST

      public static final PriceType PAYMENT_COST
    • DISCOUNT

      public static final PriceType DISCOUNT
  • Method Details

    • values

      public static PriceType[] 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 PriceType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PriceType>
    • fromValue

      public static PriceType fromValue(String text)