PaylinkTipOption
public struct PaylinkTipOption : Codable
-
Tip options type.
Note
Enum: “Amount” “Percentage” “Manual”Declaration
Swift
public let type: PaylinkTipOptionType
-
Tip options value.
- Can be left empy or set to zero(0) if type is manual.
Declaration
Swift
public let value: Double
-
Declaration
Swift
public init(type: PaylinkTipOptionType, value: Double)
Parameters
type
Tip options type. Enum: “Amount” “Percentage” “Manual”
value
Tip options value. Can be left empy or set to zero(0) if type is manual.