public static class TipSettings.Builder extends Object
TipSettings.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TipSettings.Builder |
allowTipping(Boolean allowTipping)
Setter for allowTipping.
|
TipSettings |
build()
Builds a new
TipSettings object using the set fields. |
TipSettings.Builder |
customTipField(Boolean customTipField)
Setter for customTipField.
|
TipSettings.Builder |
separateTipScreen(Boolean separateTipScreen)
Setter for separateTipScreen.
|
TipSettings.Builder |
smartTipping(Boolean smartTipping)
Setter for smartTipping.
|
TipSettings.Builder |
tipPercentages(List<Integer> tipPercentages)
Setter for tipPercentages.
|
public TipSettings.Builder allowTipping(Boolean allowTipping)
allowTipping - Boolean value for allowTipping.public TipSettings.Builder separateTipScreen(Boolean separateTipScreen)
separateTipScreen - Boolean value for separateTipScreen.public TipSettings.Builder customTipField(Boolean customTipField)
customTipField - Boolean value for customTipField.public TipSettings.Builder tipPercentages(List<Integer> tipPercentages)
tipPercentages - List of Integer value for tipPercentages.public TipSettings.Builder smartTipping(Boolean smartTipping)
smartTipping - Boolean value for smartTipping.public TipSettings build()
TipSettings object using the set fields.TipSettingsCopyright © 2022. All rights reserved.