Class ExtensionTransaction

java.lang.Object
com.github.twitch4j.helix.domain.ExtensionTransaction

public class ExtensionTransaction
extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  ExtensionTransaction.ProductData  
    static class  ExtensionTransaction.ProductType
    Known "product_type" enum values.
  • Constructor Summary

    Constructors
    Constructor Description
    ExtensionTransaction()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getBroadcasterId()
    Twitch User ID of the channel the transaction occurred on.
    java.lang.String getBroadcasterLogin()
    Login name of the broadcaster.
    java.lang.String getBroadcasterName()
    Twitch Display Name of the broadcaster.
    java.lang.String getId()
    Unique identifier of the Bits in Extensions Transaction.
    ExtensionTransaction.ProductData getProductData()
    JSON Object representing the product acquired, as it looked at the time of the transaction.
    java.lang.String getProductType()
    Enum of the product type.
    java.lang.String getTimestamp()
    UTC timestamp when this transaction occurred.
    java.lang.String getUserId()
    Twitch User ID of the user who generated the transaction.
    java.lang.String getUserLogin()
    Login name of the user who generated the transaction.
    java.lang.String getUserName()
    Twitch Display Name of the user who generated the transaction.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ExtensionTransaction

      public ExtensionTransaction()
  • Method Details

    • getId

      public java.lang.String getId()
      Unique identifier of the Bits in Extensions Transaction.
    • getTimestamp

      public java.lang.String getTimestamp()
      UTC timestamp when this transaction occurred.
    • getBroadcasterId

      public java.lang.String getBroadcasterId()
      Twitch User ID of the channel the transaction occurred on.
    • getBroadcasterLogin

      public java.lang.String getBroadcasterLogin()
      Login name of the broadcaster.
    • getBroadcasterName

      public java.lang.String getBroadcasterName()
      Twitch Display Name of the broadcaster.
    • getUserId

      public java.lang.String getUserId()
      Twitch User ID of the user who generated the transaction.
    • getUserLogin

      public java.lang.String getUserLogin()
      Login name of the user who generated the transaction.
    • getUserName

      public java.lang.String getUserName()
      Twitch Display Name of the user who generated the transaction.
    • getProductType

      public java.lang.String getProductType()
      Enum of the product type. Currently only BITS_IN_EXTENSION.
    • getProductData

      public ExtensionTransaction.ProductData getProductData()
      JSON Object representing the product acquired, as it looked at the time of the transaction.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object