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

TrialOffer Interface

Contains the details about the trial offer associated with a BillingPlan.

Signature

interface TrialOffer

Properties

maxTermCount : Int?
[Get]
Represents the maximum term for which a trial_offer is valid.
Signature
abstract val maxTermCount: Int?
price : Price
[Get]
The Price of the trial offer contains the currency code, the amount in hundredths, and the formatted string representation.
Signature
abstract val price: Price
trialTerm : OfferTerm
[Get]
An enum that specifies the term. OfferTerm.Unknown: unknown OfferTerm.Weekly: WEEKLY OfferTerm.Biweekly: BIWEEKLY OfferTerm.Monthly: MONTHLY OfferTerm.Quarterly: QUARTERLY OfferTerm.Semiannual: SEMIANNUAL OfferTerm.Annual: ANNUAL OfferTerm.Biannual: BIANNUAL
Signature
abstract val trialTerm: OfferTerm
trialType : OfferType
[Get]
An enum that specifies the type of the trial. OfferType.IntroOffer: Intro Offer. OfferType.FreeTrial: Free Trial.
Signature
abstract val trialType: OfferType
Did you find this page helpful?