ZSSubscriptionDetail

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.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The renewal amount for the subscription.

Link copied to clipboard

The renewal amount for the subscription along with currency.

Link copied to clipboard

Subscription cancelled date

Link copied to clipboard

Formatted subscription cancelled date

Link copied to clipboard

For non-renewing subscriptions, current term end date.

Link copied to clipboard

For non-renewing subscriptions, formatted current term end date.

Link copied to clipboard

List of custom fields configured for the subscription.

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

Interval configured for the plan for which the subscription is created. Example - Monthly, Yearly.

Link copied to clipboard
var name: String?

The name of the subscription.

Link copied to clipboard

Next billing date of the subscription. Next renewal date.

Link copied to clipboard

Formatted next billing date of the subscription. Next renewal date.

Link copied to clipboard

Dunning subscription retry date

Link copied to clipboard

Formatted value of dunning subscription retry date

Link copied to clipboard
lateinit var planCode: String

Plan code of the plan.

Link copied to clipboard

Plan description of the plan.

Link copied to clipboard

Name of the plan for which the subscription is created.

Link copied to clipboard

Name of the product under which the subscription is present.

Link copied to clipboard

Reference id of the subscription.

Link copied to clipboard

The source from which the subscription is created.

Link copied to clipboard

The current status of the subscription.

Link copied to clipboard

Unique order ID which is mapped with Play Store purchase for the subscription.

Link copied to clipboard

A unique identifier of a particular subscription.

Link copied to clipboard

A unique number for the subscription, auto generated based on predefined preferences while the subscription is created.

Link copied to clipboard

The end date of the trial period.

Link copied to clipboard

The formatted end date of the trial period.

Link copied to clipboard

The remaining days available in trial period for the subscription.

Link copied to clipboard

The start date of the trial period.

Link copied to clipboard

The formatted start date of the trial period.

Functions

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