PaylinkTipOption

public struct PaylinkTipOption : Codable

Options which will be listed on the Tip Request Page for Paylink.

  • Tip options type.

    Note

    Enum: “Amount” “Percentage” “Manual”

    Declaration

    Swift

    public let type: PaylinkTipOptionType
  • Tip options value.

    Note

    Can be left empy or set to zero(0) if type is manual.

    Declaration

    Swift

    public let value: Double
  • Creates an instance from the specified parameters.

    Declaration

    Swift

    public init(type: PaylinkTipOptionType,
                value: Double)

    Parameters

    type

    Instance’s PaylinkTipOptionType, which is type of tip.

    value

    Tip options value. Can be left empy or set to zero(0) if type is manual.