ZSPlan

final public class ZSPlan : NSObject

Plan object that contains the plan related information entered in Zoho Billing along with the SKProduct info from App Store.

  • SKProduct for the plan from App Store.

    Declaration

    Swift

    public var skProduct: Product?
  • Plan name entered in Zoho Billing.

    Declaration

    Swift

    public var name: String
  • Plan description entered in Zoho Billing.

    Declaration

    Swift

    public var planDescription: String
  • Plan code entered in Zoho Billing.

    Declaration

    Swift

    public var planCode: 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

    public var interval: Int
  • 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.

    Declaration

    Swift

    public var intervalUnit: ZSPlanInterval
  • Custom fields configured in Zoho Billing for the ZSPlan.

    Declaration

    Swift

    public var customFields: [ZSCustomField]
  • The price of the configured plan.

    Declaration

    Swift

    public var price: Double
  • The price of the configured plan along with currency.

    Declaration

    Swift

    public var priceFormatted: String
  • Number of billing cycles configured for the plan.

    Declaration

    Swift

    public var billingCycles: Int
  • This indicates the status of the plan that plan is active or inactive.

    Declaration

    Swift

    public var isActive: Bool { get }