API reference
API reference
Select your platform
No SDKs available
No versions available

Product

Updated: Aug 26, 2025

Product

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

Properties

NameSummary
billingPlans
abstract val billingPlans: List<BillingPlan>?
Billing plans related to the product.
contentRating
abstract val contentRating: ContentRating?
The content rating of a horizon.platform.iap.models.Product that specifies the age rating as well as other important information that needs to be displayed to the user per local regulations.
coverUrl
abstract val coverUrl: String?
The URI for the cover image for the horizon.platform.iap.models.Product being sold.
description
abstract val description: String?
The description for the product. The description should be meaningful and explanatory to help outline the product and its features.
formattedPrice
abstract val formattedPrice: String
The formatted string for the horizon.platform.iap.models.Price. This is the same value stored in horizon.platform.iap.models.Price.
iconUrl
abstract val iconUrl: String?
The URI for horizon.platform.iap.models.Product icon.
json
open val json: String
name
abstract val name: String
The name of the product. This will be used as a the display name and should be aligned with the user facing title.
price
abstract val price: Price
The horizon.platform.iap.models.Price of the product contains the currency code, the amount in hundredths, and the formatted string representation.
shortDescription
abstract val shortDescription: String?
The short description of a horizon.platform.iap.models.Product which provides more information about the horizon.platform.iap.models.Product. To be used in conjunction with the description of the horizon.platform.iap.models.Product.
sku
abstract val sku: String
The unique string that you use to reference the product in your app. The SKU is case-sensitive and should match the SKU reference in your code.
type
abstract val type: ProductType
The type of product. An In-app purchase (IAP) add-on can be horizon.platform.iap.enums.ProductType.durable, horizon.platform.iap.enums.ProductType.consumable, or a horizon.platform.iap.enums.ProductType.subscription.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon