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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.IntegergetBits()Bits involved in the transaction.java.lang.StringgetName()Product name.java.lang.StringgetSku()Unique identifier for the product acquired.inthashCode()java.lang.BooleanisInDevelopment()Whether the product is in development.java.lang.StringtoString()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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-