toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SavingsPlanPaymentOption.allUpfront:
      return 'All Upfront';
    case SavingsPlanPaymentOption.partialUpfront:
      return 'Partial Upfront';
    case SavingsPlanPaymentOption.noUpfront:
      return 'No Upfront';
  }
}