toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AcceptanceType.accept:
      return 'ACCEPT';
    case AcceptanceType.reject:
      return 'REJECT';
  }
}