message property

String get message

Implementation

String get message {
  switch (value) {
    case 0:
      return "Approved, PRE_AUTH, PREAUTH_APPROVED";
    case 1:
      return "Created";
    case 2:
      return "Pending";
    case 3:
      return "Declined";
    case 4:
      return "Refunded";
    case 5:
      return "Wrong Hash";
    case 6:
      return "tran_id not Found";
    case 11:
      return " Other Server side Error";

    default:
  }
  return "Unknown Error!";
}