Enum Class DonationType

java.lang.Object
java.lang.Enum<DonationType>
io.github.bbobbogi.stream4j.common.DonationType
All Implemented Interfaces:
Serializable, Comparable<DonationType>, Constable

public enum DonationType extends Enum<DonationType>
Donation categories normalized across platforms.
Since:
1.0.0
  • Enum Constant Details

    • CHAT

      public static final DonationType CHAT
      Chat donation, including standard paid chat events.
    • VIDEO

      public static final DonationType VIDEO
      Video donation event.
    • MISSION

      public static final DonationType MISSION
      Mission donation event.
    • PARTY

      public static final DonationType PARTY
      Party donation event.
  • Method Details

    • values

      public static DonationType[] 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 DonationType 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