ZSSubscriptionDetail
@objc
final public class ZSSubscriptionDetail : NSObject
ZSSubscriptonDetails 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.
-
A unique identifier of a particular subscription.
Declaration
Swift
@objc public var subscriptionId: String -
The name of the subscription.
Declaration
Swift
@objc public var name: String -
A unique number for the subscription, auto generated based on predefined preferences while the subscription is created.
Declaration
Swift
@objc public var subscriptionNumber: String -
The current status of the subscription.
Declaration
Swift
@objc public var status: ZSSubscriptionDetail.SubscriptionStatus -
Formatted value of the subscription’s
status.Declaration
Swift
@objc public var statusFormatted: String -
The renewal amount for the subscription.
Declaration
Swift
@objc public var amount: Double -
The renewal amount for the subscription along with currency.
Declaration
Swift
@objc public var amountFormatted: String? -
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)
Declaration
Swift
@objc public var interval: Int -
Intervalconfigured for the plan for which the subscription is created. Example - Monthly, Yearly.
Declaration
Swift
@objc public var intervalUnit: ZSPlanInterval -
Referece id of the subscription.
Declaration
Swift
@objc public var referenceId: String -
Name of the product under which the subscription is present.
Declaration
Swift
@objc public var productName: String -
Name of the plan for which the subscription is created.
Declaration
Swift
@objc public var planName: String -
Code configured for the plan.
Declaration
Swift
@objc public var planCode: String -
Name of the plan for which the subscription is created.
Declaration
Swift
@objc public var planDescription: String -
The remaining days available in trial period for the subscription.
Declaration
Swift
@objc public var trialRemainingDays: Int -
Next billing date of the subscription. Next renewal date.
Declaration
Swift
@objc public var nextBillingDate: Date? -
Formatted next billing date of the subscription. Next renewal date.
Declaration
Swift
@objc public var nextBillingDateFormatted: String? -
Cancelled date of the subscription. Cancellation date.
Declaration
Swift
@objc public var cancelledDate: Date? -
Formatted cancelled date of the subscription. Cancellation date.
Declaration
Swift
@objc public var cancelledDateFormatted: String? -
Current term ending date of the subscription.
Declaration
Swift
@objc public var currentTermEndsDate: Date? -
Formatted current term ending date of the subscription.
Declaration
Swift
@objc public var currentTermEndsDateFormatted: String? -
The start date of the trial period.
Declaration
Swift
@objc public var trialStartsDate: Date? -
Formatted the start date of the trial period.
Declaration
Swift
@objc public var trialStartsDateFormatted: String? -
The end date of the trial period.
Declaration
Swift
@objc public var trialEndsDate: Date? -
Formatted the end date of the trial period.
Declaration
Swift
@objc public var trialEndsDateFormatted: String? -
The next billing retry date of the subscription.
Declaration
Swift
@objc public var nextRetryDate: Date? -
Formatted value of the next retry date.
Declaration
Swift
@objc public var nextRetryDateFormatted: String? -
Custom fields configured in Zoho Subscriptions for the
ZSSubscriptionDetail.Declaration
Swift
@objc public var customFields: [ZSCustomField] -
The source from where the subscription was created.
Declaration
Swift
@objc public var source: ZSSubscriptionDetail.SubscriptionSource -
The current status of the subscription.
See moreDeclaration
Swift
@objc public enum SubscriptionStatus : Int -
The source from where the subscription was created.
See moreDeclaration
Swift
@objc public enum SubscriptionSource : Int
Install in Dash
ZSSubscriptionDetail Class Reference