toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RenewalType.autoRenew:
      return 'AUTO_RENEW';
    case RenewalType.expire:
      return 'EXPIRE';
  }
}