PaylinkOptionsResponse

public struct PaylinkOptionsResponse : 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?
  • True if the paylink allows partial payments, false otherwise.

    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

    Tip is a voluntary amount.

    Declaration

    Swift

    public let tip: PaylinkTipResponse?
  • Declaration

    Swift

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

    Parameters

    autoRedirect

    After the payment directly returns to the tenant’s url if set to true.

    allowPartialPayments

    True if the paylink allows partial payments, false otherwise.

    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 PaylinkTipResponse, which is a voluntary amount.