Class StreamLabsDonateEvent

java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.streamlabs.StreamLabsEvent
tv.phantombot.event.streamlabs.donate.StreamLabsDonateEvent
Direct Known Subclasses:
StreamLabsDonationEvent

public abstract class StreamLabsDonateEvent extends StreamLabsEvent
  • Constructor Details

    • StreamLabsDonateEvent

      protected StreamLabsDonateEvent(JSONObject data)
      Abstract constructor.
      Parameters:
      jsonString -
  • Method Details

    • getData

      public JSONObject getData()
    • getJsonString

      public String getJsonString()
      Method that returns the donation's JSON string.
      Returns:
      jsonString
    • toString

      public String toString()
      Method that converts the class into a string.
      Overrides:
      toString in class Object
      Returns: