A JSON object containing dine-in voucher details.
| Name | Type | Description | Notes |
|---|---|---|---|
| success | Boolean | To indicate whether the dine-in voucher redemption succeeded. | [optional] |
| code | CodeEnum | The code for the reason of failed redemption. Empty if the `success` is true. * `VOUCHER_REDEEMED` - The voucher has already been redeemed. * `INVALID_STATE` - The current status of voucher is EXPIRED or REFUNDED. * `REDEEM_FAILED` - Internal service error. * `INVALID_MERCHANT` - Voucher not applicable for this merchant. * `INVALID_ID` - Invalid certificateID. | [optional] |
| Name | Value |
|---|---|
| VOUCHER_REDEEMED | "VOUCHER_REDEEMED" |
| INVALID_STATE | "INVALID_STATE" |
| REDEEM_FAILED | "REDEEM_FAILED" |
| INVALID_MERCHANT | "INVALID_MERCHANT" |
| INVALID_ID | "INVALID_ID" |
| EMPTY | "" |
| UNKNOWN_DEFAULT_OPEN_API | "unknown_default_open_api" |