toValue method
Implementation
String toValue() {
switch (this) {
case UsageRecordResultStatus.success:
return 'Success';
case UsageRecordResultStatus.customerNotSubscribed:
return 'CustomerNotSubscribed';
case UsageRecordResultStatus.duplicateRecord:
return 'DuplicateRecord';
}
}