DatalinkModel
public struct DatalinkModel : Codable
Datalink details.
-
A system assigned unique identification for the Datalink.
Note
This value is also a part of the URL.Declaration
Swift
public let uniqueID: String?
-
Unique Datalink URL that you will need to redirect PSU in order the data access consent to proceed.
Declaration
Swift
public let url: String?
-
Base64 encoded QRCode image data that represents Datalink URL.
Declaration
Swift
public let qrCode: String?
-
Expiry date of the link in ISO 8601 format.
Declaration
Swift
public let expireDate: Date?
-
Creates an instance from the specified parameters.
Declaration
Swift
public init(uniqueID: String?, url: String?, qrCode: String?, expireDate: Date?)
Parameters
uniqueID
A system assigned unique identification for the Datalink.
url
Unique Datalink URL that you will need to redirect PSU in order the data access consent to proceed.
qrCode
Base64 encoded QRCode image data that represents Datalink URL.
expireDate
Expiry date of the link in ISO 8601 format.