Package-level declarations

Types

Link copied to clipboard
data class ZSAPIConfiguration(var apiKey: String, var zsProductID: String, var zsDCDomain: ZSDomain = ZSDomain.COM) : Serializable
Link copied to clipboard
data class ZSConfiguration(var userId: String, var userEmail: String, var displayName: String) : Serializable

Configuration of the SDK. This configuration contains the basic data used to make API calls to Zoho Subscriptions’ server.

Link copied to clipboard

ZSCustomField has the custom field details which are configured for the plan in Zoho Subscriptions.

Link copied to clipboard

The different datatypes of a custom field in Zoho Subscriptions.

Link copied to clipboard
data class ZSCustomFieldFilter(val fieldAPIName: String, val filterValue: String, val matchType: ZSCustomFieldFilter.MatchType = MatchType.CONTAINS)

A filter used to apply matching conditions to a custom field.

Link copied to clipboard
Link copied to clipboard
data class ZSError(val code: ZSErrorCode, val message: String, val errorInfo: ArrayList<Map<String, Any>>? = null)

This class represents the error that is sent from the SDK.

Link copied to clipboard

The error codes will be return from the ZS InApp SDK

Link copied to clipboard

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

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

The different statuses of a subscription.

Link copied to clipboard

ZSSubscriptionDetail will have the details of a particular subscription. It will have have the plan related details and the status of the subscription along with the expiry details.

Link copied to clipboard

The different sources from which a subscription can be created.