Enum Class DonationEvent.Platform

java.lang.Object
java.lang.Enum<DonationEvent.Platform>
bot.colla.donation.event.DonationEvent.Platform
All Implemented Interfaces:
Serializable, Comparable<DonationEvent.Platform>, Constable
Enclosing class:
DonationEvent

public static enum DonationEvent.Platform extends Enum<DonationEvent.Platform>
방송 플랫폼
  • Enum Constant Details

  • Method Details

    • values

      public static DonationEvent.Platform[] 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 DonationEvent.Platform 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
    • getName

      public String getName()
      플랫폼 이름을 가져옵니다.
      Returns:
      이름
    • getCurrency

      public String getCurrency()
      후원 화폐(별풍선, 치즈) 이름을 가져옵니다.
      Returns:
      후원 화폐
    • getPrice

      public int getPrice()
      후원 화폐 가격을 가져옵니다.
      Returns:
      후원 화폐 가격