toValue method
Implementation
String toValue() {
switch (this) {
case ContactType.person:
return 'PERSON';
case ContactType.company:
return 'COMPANY';
case ContactType.association:
return 'ASSOCIATION';
case ContactType.publicBody:
return 'PUBLIC_BODY';
case ContactType.reseller:
return 'RESELLER';
}
}