PaylinkOptions
public struct PaylinkOptions : Codable
Options which are for Paylink.
-
After the payment directly returns to the tenant’s url if set to true.
Note
Defaults to false.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 pay total amount partially.
Warning
When this value is set, paylink will be expired total amount is comppublic leted.Note
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 is a voluntary amount.
Declaration
Swift
public let tip: PaylinkTip?
-
Creates an instance from the specified parameters.
Declaration
Swift
public init(autoRedirect: Bool?, generateQrCode: Bool?, allowPartialPayments: Bool?, disableQrCode: Bool?, tip: PaylinkTip?)
Parameters
autoRedirect
After the payment directly returns to the tenant’s url if set to true.
generateQrCode
Optional parameter for getting a QRCode image in Base64 format with the response.
allowPartialPayments
Optional parameter for allowing user to pay total amount partially.
disableQrCode
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.
tip
Instance’s
PaylinkTip
, which is a voluntary amount.