PaylinkTipResponse

public struct PaylinkTipResponse : Codable

Tip is a voluntary amount for Paylink.

  • Denotes whether tip requested from payer.

    Declaration

    Swift

    public let requestTip: Bool?
  • The Title of the Tip Request Page.

    Declaration

    Swift

    public let title: String?
  • The informative text on the Tip Request Page.

    Declaration

    Swift

    public let text: String?
  • Tip can be configured as required. In this case the payer will be forced to select or enter tip amount.

    Declaration

    Swift

    public let isRequired: Bool?
  • The tip options that will be listed on the Tip Request Page.

    Declaration

    Swift

    public let options: [PaylinkTipOption]?
  • Creates an instance from the specified parameters.

    Declaration

    Swift

    public init(requestTip: Bool?,
                title: String?,
                text: String?,
                isRequired: Bool?,
                options: [PaylinkTipOption]?)

    Parameters

    requestTip

    Denotes whether tip requested from payer.

    title

    The Title of the Tip Request Page.

    text

    The informative text on the Tip Request Page.

    isRequired

    Tip can be configured as required. In this case the payer will be forced to select or enter tip amount.

    options

    Instance’s array of PaylinkTipOption, which contains options that will be listed on the Tip Request Page.