API reference

horizon.platform.iap.models

Updated: Oct 30, 2025

Package-level declarations

Types

NameSummary
interface BillingPlan
Contains the detailed billing plan information for a horizon.platform.iap.enums.ProductType.subscription. A BillingPlan can have a horizon.platform.iap.models.PaidOffer and an array of horizon.platform.iap.models.TrialOffer. The horizon.platform.iap.models.TrialOfferArray can contain a FREE_TRIAL and an INTRO_OFFER.
interface ContentRating
A Content Rating of a horizon.platform.iap.models.Product. This rating is sourced by the International Age Rating Coalition (IARC) certificate from the local rating authority. An Add-on’s Content Rating can be configured by adding a IARC certificate in the developer dashboard. The Add-on can also inherit the Content Rating of the base App.
interface PaidOffer
Contains the details about the paid offer associated with a horizon.platform.iap.models.BillingPlan.
interface Price
The price of a horizon.platform.iap.models.Product. A price contains a currency code, an amount in hundredths, and its formatted string representation. For example, a price with a currency code of "USD" and an amount in hundredths of 99 has a formatted string of "$0.99".
interface Product
The class that represents the product information for a specific IAP which is available for purchase in your app. You can retrieve more information about the product(s) by using their SKU with horizon.platform.iap.Iap.getProductsBySku
interface ProductArray
The class that represents the product information for a specific IAP which is available for purchase in your app. You can retrieve more information about the product(s) by using their SKU with horizon.platform.iap.Iap.getProductsBySku
interface Purchase
A purchase is made when a user buys a horizon.platform.iap.models.Product. The IAP product, which can represent a consumable item, a durable item, or a subscription, must be defined for purchase through the developer dashboard.
interface PurchaseArray
A purchase is made when a user buys a horizon.platform.iap.models.Product. The IAP product, which can represent a consumable item, a durable item, or a subscription, must be defined for purchase through the developer dashboard.
interface TrialOffer
Contains the details about the trial offer associated with a horizon.platform.iap.models.BillingPlan.