API reference

PaidOffer Class

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

Constructors

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

Methods

getPrice ()
The com.meta.horizon.platform.ovr.models.Price of the paid offer contains the currency code, the amount in hundredths, and the formatted string representation.
Signature
Price com.meta.horizon.platform.ovr.models.PaidOffer.getPrice()
Returns
Price Price
getSubscriptionTerm ()
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.PaidOffer.getSubscriptionTerm()
Returns
OfferTerm  OfferTerm