Skip to content

Subscription_Pause

mauryaratan edited this page Feb 5, 2023 · 1 revision

Subscription.Pause

public struct Pause: Codable 

Inheritance

Codable

Properties

mode

Defines payment pause behaviour, can be one of:​

public let mode: String
  • void - If you can't offer your services for a period of time (for maintenance as an example), you can void invoices so your customers aren't charged

  • free - Offer your subscription services for free, whilst halting payment collection.

resumesAt

An ISO-8601 formatted date-time string indicating when the subscription will continue collecting payments.

public let resumesAt: String?
Types
Global Functions
Clone this wiki locally