Subscription

public struct Subscription

A fixed charge with a recurring payment.

  • id

    Subscription UUID.

    Declaration

    Swift

    public let id: String
  • The current status of the subscription.

    Declaration

    Swift

    public let status: SubscriptionStatus
  • Subscription name.

    Declaration

    Swift

    public let name: String?
  • fee

    The payment fee for the subscription.

    Declaration

    Swift

    public let fee: Money
  • The payment frequency for the subscription.

    Declaration

    Swift

    public let frequency: SubscriptionFrequency
  • The latest Transaction for this subscription.

    Declaration

    Swift

    public let lastTransaction: Transaction