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

TrialOffer

Updated: Aug 26, 2025

TrialOffer

interface TrialOffer
Contains the details about the trial offer associated with a horizon.platform.iap.models.BillingPlan.

Properties

NameSummary
json
open val json: String
maxTermCount
abstract val maxTermCount: Int?
Represents the maximum term for which a trial_offer is valid.
price
abstract val price: Price
The horizon.platform.iap.models.Price of the trial offer contains the currency code, the amount in hundredths, and the formatted string representation.
trialTerm
abstract val trialTerm: OfferTerm
An enum that specifies the term. horizon.platform.iap.enums.OfferTerm.unknown: unknown horizon.platform.iap.enums.OfferTerm.weekly: WEEKLY horizon.platform.iap.enums.OfferTerm.biweekly: BIWEEKLY horizon.platform.iap.enums.OfferTerm.monthly: MONTHLY horizon.platform.iap.enums.OfferTerm.quarterly: QUARTERLY horizon.platform.iap.enums.OfferTerm.semiannual: SEMIANNUAL horizon.platform.iap.enums.OfferTerm.annual: ANNUAL horizon.platform.iap.enums.OfferTerm.biannual: BIANNUAL
trialType
abstract val trialType: OfferType
An enum that specifies the type of the trial. horizon.platform.iap.enums.OfferType.introOffer: Intro Offer. horizon.platform.iap.enums.OfferType.freeTrial: Free Trial.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon