toValue method
Implementation
String toValue() {
switch (this) {
case PaymentOption.noUpfront:
return 'NO_UPFRONT';
case PaymentOption.partialUpfront:
return 'PARTIAL_UPFRONT';
case PaymentOption.allUpfront:
return 'ALL_UPFRONT';
case PaymentOption.lightUtilization:
return 'LIGHT_UTILIZATION';
case PaymentOption.mediumUtilization:
return 'MEDIUM_UTILIZATION';
case PaymentOption.heavyUtilization:
return 'HEAVY_UTILIZATION';
}
}