Name | Type | Description | Notes |
---|---|---|---|
cancelAble | Boolean | The boolean value to indicate whether an order can be cancelled. | [optional] |
nonCancellationReason | NonCancellationReasonEnum | The reason for the order to be non-cancelable. | [optional] |
limitType | CancelOrderLimitType | [optional] | |
limitTimes | Long | The remaining cancellation quota for the merchant. A value is only returned when the nearest remaining cancellation limit is approaching, else it returns 0. | [optional] |
cancelReasons | List<CancelReason> | An array of cancel order reasons JSON objects. | [optional] |
Name | Value |
---|---|
GKMM_GRAB_KITCHEN_MIX_MATCH_ORDERS_CANNOT_BE_CANCELLED | "GKMM (Grab Kitchen Mix & Match) orders cannot be cancelled" |
SELF_PICK_UP_ORDERS_CANNOT_BE_CANCELLED | "Self pick-up orders cannot be cancelled" |
SCHEDULED_ORDERS_CANNOT_BE_CANCELLED | "Scheduled orders cannot be cancelled" |
DAILY_CANCELLATION_LIMIT_REACHED | "Daily cancellation limit reached" |
WEEKLY_CANCELLATION_LIMIT_REACHED | "Weekly cancellation limit reached" |
MONTHLY_CANCELLATION_LIMIT_REACHED | "Monthly cancellation limit reached" |
DRIVER_HAS_BEEN_ALLOCATED_FOR_TOO_LONG | "Driver has been allocated for too long" |
DRIVER_APP_VERSION_IS_OUTDATED_PREVENTING_CANCELLATION | "Driver App version is outdated preventing cancellation" |
ORDER_HAS_NOT_YET_BEEN_ALLOCATED_PREVENTING_CANCELLATION | "Order has not yet been allocated preventing cancellation" |
THE_CURRENT_STATUS_OF_THE_ORDER_DOES_NOT_ALLOW_CANCELLATION | "The current status of the order does not allow cancellation" |
DEFAULT_ERROR | "Default Error" |
EMPTY | "" |
UNKNOWN_DEFAULT_OPEN_API | "unknown_default_open_api" |