PaylinkOptions

public struct PaylinkOptions : Codable
  • After the payment directly returns to the tenant’s url if set to true.

    • Defaults to false.

    Declaration

    Swift

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

    • Defaults to false.

    Declaration

    Swift

    public let generateQrCode: Bool?
  • Optional parameter for allowing user to pay total amount partially.

    Warning

    When this value is set, paylink will be expired total amount is comppublic leted.
    • Defaults to false.

    Declaration

    Swift

    public let allowPartialPayments: Bool?
  • Optional parameter for displaying a QR Code on the paylink screens, that enables users to transfer their journey from desktop to mobile easily. This feature is only visible on desktop view.

    Declaration

    Swift

    public let disableQrCode: Bool?
  • tip

    The Tip object model

    Declaration

    Swift

    public let tip: PaylinkTip?
  • Declaration

    Swift

    public init(autoRedirect: Bool?,
                generateQrCode: Bool?,
                allowPartialPayments: Bool?,
                disableQrCode: Bool?,
                tip: PaylinkTip?)