toJsonString method

String toJsonString()

Implementation

String toJsonString() {
  switch (this) {
    case QuickbooksGlobalTaxCalculationType.taxExcluded:
      return 'TaxExcluded';
    case QuickbooksGlobalTaxCalculationType.taxInclusive:
      return 'TaxInclusive';
    case QuickbooksGlobalTaxCalculationType.notApplicable:
      return 'NotApplicable';
    default:
      throw Exception('Unknown detail type');
  }
}