- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
// enum WithdrawalRequestStatus {... }
// WithdrawalRequestStatus withdrawalRequestStatus = [...]
switch (Convert.ToInt32(withdrawalRequestStatus))
{
case 0:
requestStatus = "New";
break;
case 1:
requestStatus = "Canceled";
break;
case 2:
requestStatus = "Rejected";
break;
case 3:
requestStatus = "Additional Info Required";
break;
case 4:
requestStatus = "Ready For Approval";
break;
case 5:
requestStatus = "Approved For Payout";
break;
case 6:
requestStatus = "Paid Out";
break;
}