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 Models.BillingPlan.

Constructors

TrialOffer ( o )
Signature
Oculus.Platform.Models.TrialOffer.TrialOffer(IntPtr o)
Parameters
o: IntPtr

Fields

MaxTermCount : readonly int
Represents the maximum term for which a trial_offer is valid.
Signature
readonly int Oculus.Platform.Models.TrialOffer.MaxTermCount
Price : readonly Price
The Models.Price of the trial offer contains the currency code, the amount in hundredths, and the formatted string representation.
Signature
readonly Price Oculus.Platform.Models.TrialOffer.Price
TrialTerm : readonly OfferTerm
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
readonly OfferTerm Oculus.Platform.Models.TrialOffer.TrialTerm
TrialType : readonly OfferType
An enum that specifies the type of the trial.
OfferType.INTROOFFER: Intro Offer.
OfferType.FREETRIAL: Free Trial.
Signature
readonly OfferType Oculus.Platform.Models.TrialOffer.TrialType