public class CheckoutLocationSettingsTipping extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckoutLocationSettingsTipping.Builder
Class to build instances of
CheckoutLocationSettingsTipping. |
| Modifier | Constructor and Description |
|---|---|
|
CheckoutLocationSettingsTipping(List<Integer> percentages,
Boolean smartTippingEnabled,
Integer defaultPercent,
List<Money> smartTips,
Money defaultSmartTip)
Initialization constructor.
|
protected |
CheckoutLocationSettingsTipping(io.apimatic.core.types.OptionalNullable<List<Integer>> percentages,
io.apimatic.core.types.OptionalNullable<Boolean> smartTippingEnabled,
io.apimatic.core.types.OptionalNullable<Integer> defaultPercent,
io.apimatic.core.types.OptionalNullable<List<Money>> smartTips,
Money defaultSmartTip)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getDefaultPercent()
Getter for DefaultPercent.
|
Money |
getDefaultSmartTip()
Getter for DefaultSmartTip.
|
List<Integer> |
getPercentages()
Getter for Percentages.
|
Boolean |
getSmartTippingEnabled()
Getter for SmartTippingEnabled.
|
List<Money> |
getSmartTips()
Getter for SmartTips.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Integer> |
internalGetDefaultPercent()
Internal Getter for DefaultPercent.
|
protected io.apimatic.core.types.OptionalNullable<List<Integer>> |
internalGetPercentages()
Internal Getter for Percentages.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetSmartTippingEnabled()
Internal Getter for SmartTippingEnabled.
|
protected io.apimatic.core.types.OptionalNullable<List<Money>> |
internalGetSmartTips()
Internal Getter for SmartTips.
|
CheckoutLocationSettingsTipping.Builder |
toBuilder()
Builds a new
CheckoutLocationSettingsTipping.Builder object. |
String |
toString()
Converts this CheckoutLocationSettingsTipping into string format.
|
public CheckoutLocationSettingsTipping(List<Integer> percentages, Boolean smartTippingEnabled, Integer defaultPercent, List<Money> smartTips, Money defaultSmartTip)
percentages - List of Integer value for percentages.smartTippingEnabled - Boolean value for smartTippingEnabled.defaultPercent - Integer value for defaultPercent.smartTips - List of Money value for smartTips.defaultSmartTip - Money value for defaultSmartTip.protected CheckoutLocationSettingsTipping(io.apimatic.core.types.OptionalNullable<List<Integer>> percentages, io.apimatic.core.types.OptionalNullable<Boolean> smartTippingEnabled, io.apimatic.core.types.OptionalNullable<Integer> defaultPercent, io.apimatic.core.types.OptionalNullable<List<Money>> smartTips, Money defaultSmartTip)
percentages - List of Integer value for percentages.smartTippingEnabled - Boolean value for smartTippingEnabled.defaultPercent - Integer value for defaultPercent.smartTips - List of Money value for smartTips.defaultSmartTip - Money value for defaultSmartTip.protected io.apimatic.core.types.OptionalNullable<List<Integer>> internalGetPercentages()
public List<Integer> getPercentages()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetSmartTippingEnabled()
public Boolean getSmartTippingEnabled()
protected io.apimatic.core.types.OptionalNullable<Integer> internalGetDefaultPercent()
public Integer getDefaultPercent()
protected io.apimatic.core.types.OptionalNullable<List<Money>> internalGetSmartTips()
public List<Money> getSmartTips()
public Money getDefaultSmartTip()
public String toString()
public CheckoutLocationSettingsTipping.Builder toBuilder()
CheckoutLocationSettingsTipping.Builder object.
Creates the instance with the state of the current model.CheckoutLocationSettingsTipping.Builder objectCopyright © 2024. All rights reserved.