toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case QuotaPeriodType.day:
      return 'DAY';
    case QuotaPeriodType.week:
      return 'WEEK';
    case QuotaPeriodType.month:
      return 'MONTH';
  }
}