public class TipSettings extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TipSettings.Builder
Class to build instances of
TipSettings. |
| Constructor and Description |
|---|
TipSettings(Boolean allowTipping,
Boolean separateTipScreen,
Boolean customTipField,
List<Integer> tipPercentages,
Boolean smartTipping)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAllowTipping()
Getter for AllowTipping.
|
Boolean |
getCustomTipField()
Getter for CustomTipField.
|
Boolean |
getSeparateTipScreen()
Getter for SeparateTipScreen.
|
Boolean |
getSmartTipping()
Getter for SmartTipping.
|
List<Integer> |
getTipPercentages()
Getter for TipPercentages.
|
int |
hashCode() |
TipSettings.Builder |
toBuilder()
Builds a new
TipSettings.Builder object. |
String |
toString()
Converts this TipSettings into string format.
|
public TipSettings(Boolean allowTipping, Boolean separateTipScreen, Boolean customTipField, List<Integer> tipPercentages, Boolean smartTipping)
allowTipping - Boolean value for allowTipping.separateTipScreen - Boolean value for separateTipScreen.customTipField - Boolean value for customTipField.tipPercentages - List of Integer value for tipPercentages.smartTipping - Boolean value for smartTipping.public Boolean getAllowTipping()
public Boolean getSeparateTipScreen()
public Boolean getCustomTipField()
public List<Integer> getTipPercentages()
public Boolean getSmartTipping()
public String toString()
public TipSettings.Builder toBuilder()
TipSettings.Builder object.
Creates the instance with the state of the current model.TipSettings.Builder objectCopyright © 2022. All rights reserved.