Package com.github.twitch4j.helix.domain
Class ExtensionBitsProduct.Cost
java.lang.Object
com.github.twitch4j.helix.domain.ExtensionBitsProduct.Cost
- Enclosing class:
- ExtensionBitsProduct
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Cost
public Cost() -
Cost
Creates a newCost
instance.- Parameters:
amount
- Number of Bits for which the product will be exchanged.type
- Cost type.The one valid value is "bits".
-
-
Method Details
-
builder
-
toBuilder
-
withAmount
Number of Bits for which the product will be exchanged.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withType
Cost type.The one valid value is "bits".
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
getAmount
Number of Bits for which the product will be exchanged. -
getType
Cost type.The one valid value is "bits".
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-