Package com.github.twitch4j.helix.domain
Class ExtensionBitsProduct.ExtensionBitsProductBuilder
java.lang.Object
com.github.twitch4j.helix.domain.ExtensionBitsProduct.ExtensionBitsProductBuilder
- Enclosing class:
- ExtensionBitsProduct
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Object containing cost information.displayName
(String displayName) Name of the product to be displayed in the Extension.expiration
(Instant expiration) Expiration time for the product in RFC3339 format.isBroadcast
(Boolean isBroadcast) Indicates if Bits product purchase events are broadcast to all instances of an Extension on a channel via the “onTransactionComplete” helper callback.isInDevelopment
(Boolean isInDevelopment) Indicates if the product is in development and not yet released for public use.SKU of the Bits product.toString()
-
Method Details
-
sku
SKU of the Bits product.This is unique across all products that belong to an Extension.
- Returns:
this
.
-
cost
Object containing cost information.- Returns:
this
.
-
isInDevelopment
Indicates if the product is in development and not yet released for public use.- Returns:
this
.
-
displayName
Name of the product to be displayed in the Extension.- Returns:
this
.
-
expiration
Expiration time for the product in RFC3339 format.- Returns:
this
.
-
isBroadcast
Indicates if Bits product purchase events are broadcast to all instances of an Extension on a channel via the “onTransactionComplete” helper callback.- Returns:
this
.
-
build
-
toString
-