toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PricingPlan.onDemand:
      return 'ON_DEMAND';
    case PricingPlan.reserved:
      return 'RESERVED';
  }
}