ConsentModel

public struct ConsentModel : Codable

Represents consent response object model.

  • ID of the account access correspanding Gateway account access consent reference

    Declaration

    Swift

    public let consentID: String?
  • Declaration

    Swift

    public let status: ConsentStatus?
  • Date of the consent creation

    Declaration

    Swift

    public let dateCreated: String?
  • The ID assigned by the Bank for the consent

    Declaration

    Swift

    public let bankReferenceID: String?
  • The date indicating when consent will be expired.

    Declaration

    Swift

    public let consentExpiryDate: String?
  • Unique identification string assigned to the bank by our system.

    Declaration

    Swift

    public let bankID: String?
  • The date indicating when consent will end.

    Declaration

    Swift

    public let consentEndDate: String?
  • Declaration

    Swift

    public init(consentID: String?,
                status: ConsentStatus?,
                dateCreated: String?,
                bankReferenceID: String?,
                consentExpiryDate: String?,
                bankID: String?,
                consentEndDate: String?)