Consent

public struct Consent

The consent for a specific provider.

  • id

    The consent UUID.

    Declaration

    Swift

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

    Declaration

    Swift

    public let status: ConsentStatus
  • The link with which the user can give Bittiq consent to their providers account.

    Declaration

    Swift

    public let consentLink: String?
  • The provider that this consent applies to.

    Declaration

    Swift

    public let provider: Provider?
  • Date that the consent expires.

    Declaration

    Swift

    public let validUntil: Date
  • Date that the consent was created.

    Declaration

    Swift

    public let created: Date
  • Date that the consent was last updated.

    Declaration

    Swift

    public let lastUpdated: Date
  • Flag indicating if the consent is for an account of a private (non-business) entity.

    Declaration

    Swift

    public let isPrivateAccount: Bool