@Immutable @LevelUpApi(contract=PUBLIC) public final class Feedback extends Object implements Parcelable
Order which a user can
submit.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<Feedback> |
CREATOR
Implements the
Parcelable interface. |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
Feedback(String comment,
String questionText,
int rating) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
String |
getComment()
Optional comments a user can leave for an order.
|
String |
getQuestionText()
The question text displayed to the user associated with the comments the user filled out.
|
int |
getRating()
The 1-5 star rating the user gives for an order.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<Feedback> CREATOR
Parcelable interface.public final int describeContents()
describeContents in interface Parcelablepublic final void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelablepublic String getComment()
public String getQuestionText()
public int getRating()