public class TipSuggestion extends Object implements Parcelable
Merchant
object.Modifier and Type | Class and Description |
---|---|
static class |
TipSuggestion.Builder |
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<TipSuggestion> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
TipSuggestion(JSONObject data) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
String |
getId() |
String |
getName() |
long |
getPercentage() |
boolean |
isEnabled() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<TipSuggestion> CREATOR
public TipSuggestion(JSONObject data)
public String getId()
public String getName()
public long getPercentage()
public boolean isEnabled()
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable