toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AccountGateStatus.succeeded:
      return 'SUCCEEDED';
    case AccountGateStatus.failed:
      return 'FAILED';
    case AccountGateStatus.skipped:
      return 'SKIPPED';
  }
}