toValue method

String toValue()

Implementation

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