OBJECT
PriceInfo
Generic Price Information that supports taxing and multi region pricing. LONG-TERM NOTE: using Int (32 bit) as a price field can cause issue when we sell products locally e.g. 2147483648 (2^31) Lao Att = 253132 USD cent Therefor, if we sell product which price more than $2500 in Laos currency. We will need to fix this.
link GraphQL Schema definition
1 type PriceInfo { 2 3 # The currency associated with the price of a subscription product. 4 Currency! : 5 6 # The description associated with pricing information. 7 String! : 8 9 # The discounted total also broken down by price and tax. 10 DiscountBreakdown : 11 12 # The ISO-4217 wording of deriving price. 13 Int! : 14 15 # Identifier used for caching. 16 ID! : 17 18 # If the tax is already included in price. 19 Boolean! : 20 21 # The numerical price of a subscription product. 22 Int! : 23 24 # The tax rate of localized product. 25 Int! : 26 27 # The total price given price and tax. 28 Int! : 29 30 }
link Required by
- BitsProductPurchaseInfoContains the Bits product's preview price and tax info for a Bits purchase, and error if a preview cannot be created.
- InternalChargeModelInternalChargeModel defines a 1P price identifier for the offer.
- PaidUpgradeData about a paid upgrade for a subscription. ie. a user upgrades a 1-month gift to a recurring subscription.
- PendingSubscriptionData about a pending future subscription. ie. a user turns a 1-month gift into a recurring subscription.
- SubscriptionGiftOfferA gift offer that is available on a particular subscription based on gift type and platform.
- SubscriptionGiftPromotionThe promotion offer on a subscription gift offer.
- SubscriptionProductA subscription that is purchasable by users. Once purchased, the subscription entitles the user to use special emote sets on Twitch.
- SubscriptionPromotionThe promotion offer on subscription product.