API reference

horizon.platform.iap.enums

Updated: Aug 26, 2025

Package-level declarations

Types

NameSummary
@Serializable
enum OfferTerm : Enum⁠<OfferTerm>
An enumeration that defines the type of the horizon.platform.iap.models.TrialOffer. This can be utilized to determine the length of time for which the offer is valid. By setting this field, you can easily manage the duration of your offers and provide a better user experience for your customers.
@Serializable
enum OfferType : Enum⁠<OfferType>
An enumeration that defines the type of the horizon.platform.iap.models.TrialOffer. This can be utilized to identify the specific type of offer, such as a free trial or an intro offer. By setting this field, you can easily differentiate between different types of offers and provide a better user experience for your customers.
@Serializable
enum ProductType : Enum⁠<ProductType>
This enum value represents the possible types of a horizon.platform.iap.models.Product, which is an item purchased in the application. An In-app purchase (IAP) add-on can be durable, consuable, or a subscription.