toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CustomerPolicyScopeIdType.account:
      return 'ACCOUNT';
    case CustomerPolicyScopeIdType.orgUnit:
      return 'ORG_UNIT';
  }
}