DatalinkOptions

public struct DatalinkOptions : Codable

Options that are about Datalink.

  • Determines if the PSU will see a completed page by Ecospend. If it is set true, then PSU will be redirected directly to Tenant’s redirect page If it is set false, then PSU will see the consent completed page wihch provided by the Ecospend

    Declaration

    Swift

    public let autoRedirect: Bool?
  • Optional parameter for getting a QRCode image in Base64 format with the response.

    Note

    Defaults to false.

    Declaration

    Swift

    public let generateQrCode: Bool?
  • Optional parameter for allowing user to create consent multiply.

    • When this value is set, datalink will be ask for connect an another account at the end of journey.

    Note

    Defaults to false.

    Declaration

    Swift

    public let allowMultipleConsent: Bool?
  • Optional parameter to enable generating financial report.

    • When this value is set, datalink will be give an option to redirect financial report at the end of journey.

    Note

    Defaults to false.

    Declaration

    Swift

    public let generateFinancialReport: Bool?
  • Creates an instance from the specified parameters.

    Declaration

    Swift

    public init(autoRedirect: Bool?,
                generateQrCode: Bool?,
                allowMultipleConsent: Bool?,
                generateFinancialReport: Bool?)

    Parameters

    autoRedirect

    Determines if the PSU will see a completed page by Ecospend.

    generateQrCode

    Optional parameter for getting a QRCode image in Base64 format with the response.

    allowMultipleConsent

    Optional parameter for allowing user to create consent multiply.

    generateFinancialReport

    Optional parameter to enable generating financial report.