toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RenewalEligibility.eligible:
      return 'ELIGIBLE';
    case RenewalEligibility.ineligible:
      return 'INELIGIBLE';
  }
}