API reference

TrialOffer Class

Contains the details about the trial offer associated with a com.meta.horizon.platform.ovr.models.BillingPlan.

Member Functions

TrialOffer
( final long ptr )
int getMaxTermCount ( )
Represents the maximum term for which a trial_offer is valid.
Returns
int
Price getPrice ( )
The com.meta.horizon.platform.ovr.models.Price of the trial offer contains the currency code, the amount in hundredths, and the formatted string representation.
Returns
OfferType getTrialType ( )
An enum that specifies the type of the trial.com.meta.horizon.platform.ovr.enums.OfferType#INTROOFFER: Intro Offer.com.meta.horizon.platform.ovr.enums.OfferType#FREETRIAL: Free Trial.
Returns
OfferType