DatalinkGetResponse
public struct DatalinkGetResponse : Codable
Response model to get Datalink.
-
The URL of the Tenant that the PSU will be redirected at the end of data access process.
Declaration
Swift
public let redirectionURL: String?
-
If you are providing our Payment service to your own business clients (merchants), then you should set the ID of your merchant.
Declaration
Swift
public let merchantID: String?
-
The ID of the end-user. If you are providing this service directly to the end-users, then you can assign that ID to this parameter. If you are providing this service to businesses, then you should assign the ID of that merchant’s user.
Declaration
Swift
public let merchantUserID: String?
-
Permissions that determine which data is fetched.
Declaration
Swift
public let permissions: [ConsentPermission]?
-
Options that are about Datalink.
Declaration
Swift
public let datalinkOptions: DatalinkOptions?
-
Options that are about notification.
Declaration
Swift
public let notificationOptions: PayByBankNotificationOptionsResponse?
-
Options that are about financial reporting.
Declaration
Swift
public let financialReport: FinancialReport?
-
Datalink details.
Declaration
Swift
public let datalink: DatalinkModel?
-
Consents which are given to this Datalink.
Declaration
Swift
public let consents: [ConsentModel]?
-
init(redirectionURL:
merchantID: merchantUserID: permissions: datalinkOptions: notificationOptions: financialReport: datalink: consents: ) Creates an instance from the specified parameters.
Declaration
Swift
public init(redirectionURL: String?, merchantID: String?, merchantUserID: String?, permissions: [ConsentPermission]?, datalinkOptions: DatalinkOptions?, notificationOptions: PayByBankNotificationOptionsResponse?, financialReport: FinancialReport?, datalink: DatalinkModel?, consents: [ConsentModel]?)
Parameters
redirectionURL
The URL of the Tenant that the PSU will be redirected at the end of data access process.
merchantID
If you are providing our Data service to your own business clients (merchants), then you should set the Id of your merchant.
merchantUserID
The Id of the end-user.
permissions
Instance’s array of
ConsentPermission
, which will be asked to the users while connecting their account..datalinkOptions
Instance’s
DatalinkOptions
, which contains options about Datalink.notificationOptions
Instance’s
PayByBankNotificationOptionsResponse
, which contains options about notification.financialReport
Instance’s
FinancialReport
, which contains options about financial reporting.datalink
Instance’s
DatalinkModel
, which contains details of Datalink.consents
Instance’s array of
ConsentModel
, which is given to this Datalink.