Module twitchpy.dataclasses.product_cost
Classes
class ProductCost (amount: int, type: str)
-
Expand source code
@dataclass class ProductCost: """ Represents a digital product's cost Attributes: amount (int): The amount exchanged for the digital product type (str): The type of currency exchanged Possible values: bits """ amount: int type: str
Represents a digital product's cost
Attributes
amount
:int
- The amount exchanged for the digital product
type
:str
- The type of currency exchanged Possible values: bits
Class variables
var amount : int
-
The type of the None singleton.
var type : str
-
The type of the None singleton.