ZSPlan

Plan object that contains the plan related information entered in Zoho Subscription along with the ProductDetails info from Play Store.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Number of billing cycles configured for the plan.

Link copied to clipboard
lateinit var code: String

Plan code entered in Zoho Subscriptions.

Link copied to clipboard

List of custom fields configured for the plan.

Link copied to clipboard
lateinit var description: String

Plan description entered in Zoho Subscriptions.

Link copied to clipboard

The interval in which the subscription has to be renewed. For example - 3 Months (3 is the interval here), 2 Weeks (2 is the interval here)

Link copied to clipboard

It is the period (Monthly, Weekly, Yearly) in which the interval is applied. For example, if the plan renews every 3 months, the month is the unit here. If the plan renews 2 weeks, the week is the unit here.

Link copied to clipboard
var introOffer: ProductDetails.SubscriptionOfferDetails?

A list of offer details including phases and pricing, that are associated with a plan.

Link copied to clipboard

Boolean value to check if the Plan is active in Zoho Subscriptions.

Link copied to clipboard

Boolean to check if this particular plan is the current subscribed plan for the user.

Link copied to clipboard
lateinit var name: String

Plan name entered in Zoho Subscriptions.

Link copied to clipboard

The price of the configured plan.

Link copied to clipboard

The price of the configured plan along with currency.

Link copied to clipboard
lateinit var productDetails: ProductDetails

ProductDetails for the plan from Play Store.

Link copied to clipboard

Status of the plan in Zoho Subscriptions. Possible values are active,inactive.

Functions

Link copied to clipboard
open override fun toString(): String