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

TrialOffer Class

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

Constructors

TrialOffer ( ptr )
Signature
com.meta.horizon.platform.ovr.models.TrialOffer.TrialOffer(final long ptr)
Parameters
ptr: final long

Methods

getMaxTermCount ()
Represents the maximum term for which a trial_offer is valid.
Signature
int com.meta.horizon.platform.ovr.models.TrialOffer.getMaxTermCount()
Returns
int  int
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.
Signature
Price com.meta.horizon.platform.ovr.models.TrialOffer.getPrice()
Returns
Price Price
getTrialTerm ()
An enum that specifies the term.
com.meta.horizon.platform.ovr.enums.OfferTerm#Unknown: unknown
com.meta.horizon.platform.ovr.enums.OfferTerm#WEEKLY: WEEKLY
com.meta.horizon.platform.ovr.enums.OfferTerm#BIWEEKLY: BIWEEKLY
com.meta.horizon.platform.ovr.enums.OfferTerm#MONTHLY: MONTHLY
com.meta.horizon.platform.ovr.enums.OfferTerm#QUARTERLY: QUARTERLY
com.meta.horizon.platform.ovr.enums.OfferTerm#SEMIANNUAL: SEMIANNUAL
com.meta.horizon.platform.ovr.enums.OfferTerm#ANNUAL: ANNUAL
com.meta.horizon.platform.ovr.enums.OfferTerm#BIANNUAL: BIANNUAL
Signature
OfferTerm com.meta.horizon.platform.ovr.models.TrialOffer.getTrialTerm()
Returns
OfferTerm  OfferTerm
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.
Signature
OfferType com.meta.horizon.platform.ovr.models.TrialOffer.getTrialType()
Returns
OfferType  OfferType