Class Product

java.lang.Object
com.github.twitch4j.eventsub.domain.Product

public class Product
extends java.lang.Object
Additional information about a product acquired via a Twitch Extension Bits transaction.
  • Constructor Summary

    Constructors
    Constructor Description
    Product()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.Integer getBits()
    Bits involved in the transaction.
    java.lang.String getName()
    Product name.
    java.lang.String getSku()
    Unique identifier for the product acquired.
    int hashCode()  
    java.lang.Boolean isInDevelopment()
    Whether the product is in development.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • Product

      public Product()
  • Method Details

    • getName

      public java.lang.String getName()
      Product name.
    • getBits

      public java.lang.Integer getBits()
      Bits involved in the transaction.
    • getSku

      public java.lang.String getSku()
      Unique identifier for the product acquired.
    • isInDevelopment

      public java.lang.Boolean isInDevelopment()
      Whether the product is in development. When true, bits is zero.
    • 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