public abstract class CancellationInfo extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
CancellationInfo.CancelReasonCategory
The cancel reason category.
|
static class |
CancellationInfo.Party
Which party cancelled the ride.
|
static class |
CancellationInfo.Status
The status of the cancellation request.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
CancellationInfo() |
Modifier and Type | Method and Description |
---|---|
static CancellationInfo |
create(CancellationInfo.Party cancellingParty,
String cancelReason,
long requestTime,
CancellationInfo.Status status,
CancellationInfo.CancelReasonCategory cancelReasonCategory)
Returns a new
CancellationInfo instance. |
abstract CancellationInfo.Party |
getCancellingParty()
Who cancelled the ride.
|
abstract String |
getCancelReason()
The reason for the cancellation.
|
abstract CancellationInfo.CancelReasonCategory |
getCancelReasonCategory()
The cancellation reason category.
|
abstract long |
getRequestTime()
The time the cancellation request was received by HERE Marketplace.
|
abstract CancellationInfo.Status |
getStatus()
The current status of the cancellation request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents, writeToParcel
public abstract CancellationInfo.Party getCancellingParty()
public abstract String getCancelReason()
public abstract long getRequestTime()
public abstract CancellationInfo.Status getStatus()
public abstract CancellationInfo.CancelReasonCategory getCancelReasonCategory()
public static CancellationInfo create(CancellationInfo.Party cancellingParty, String cancelReason, long requestTime, CancellationInfo.Status status, CancellationInfo.CancelReasonCategory cancelReasonCategory)
CancellationInfo
instance.