toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ExtraParamName.dunsNumber:
      return 'DUNS_NUMBER';
    case ExtraParamName.brandNumber:
      return 'BRAND_NUMBER';
    case ExtraParamName.birthDepartment:
      return 'BIRTH_DEPARTMENT';
    case ExtraParamName.birthDateInYyyyMmDd:
      return 'BIRTH_DATE_IN_YYYY_MM_DD';
    case ExtraParamName.birthCountry:
      return 'BIRTH_COUNTRY';
    case ExtraParamName.birthCity:
      return 'BIRTH_CITY';
    case ExtraParamName.documentNumber:
      return 'DOCUMENT_NUMBER';
    case ExtraParamName.auIdNumber:
      return 'AU_ID_NUMBER';
    case ExtraParamName.auIdType:
      return 'AU_ID_TYPE';
    case ExtraParamName.caLegalType:
      return 'CA_LEGAL_TYPE';
    case ExtraParamName.caBusinessEntityType:
      return 'CA_BUSINESS_ENTITY_TYPE';
    case ExtraParamName.caLegalRepresentative:
      return 'CA_LEGAL_REPRESENTATIVE';
    case ExtraParamName.caLegalRepresentativeCapacity:
      return 'CA_LEGAL_REPRESENTATIVE_CAPACITY';
    case ExtraParamName.esIdentification:
      return 'ES_IDENTIFICATION';
    case ExtraParamName.esIdentificationType:
      return 'ES_IDENTIFICATION_TYPE';
    case ExtraParamName.esLegalForm:
      return 'ES_LEGAL_FORM';
    case ExtraParamName.fiBusinessNumber:
      return 'FI_BUSINESS_NUMBER';
    case ExtraParamName.fiIdNumber:
      return 'FI_ID_NUMBER';
    case ExtraParamName.fiNationality:
      return 'FI_NATIONALITY';
    case ExtraParamName.fiOrganizationType:
      return 'FI_ORGANIZATION_TYPE';
    case ExtraParamName.itNationality:
      return 'IT_NATIONALITY';
    case ExtraParamName.itPin:
      return 'IT_PIN';
    case ExtraParamName.itRegistrantEntityType:
      return 'IT_REGISTRANT_ENTITY_TYPE';
    case ExtraParamName.ruPassportData:
      return 'RU_PASSPORT_DATA';
    case ExtraParamName.seIdNumber:
      return 'SE_ID_NUMBER';
    case ExtraParamName.sgIdNumber:
      return 'SG_ID_NUMBER';
    case ExtraParamName.vatNumber:
      return 'VAT_NUMBER';
    case ExtraParamName.ukContactType:
      return 'UK_CONTACT_TYPE';
    case ExtraParamName.ukCompanyNumber:
      return 'UK_COMPANY_NUMBER';
  }
}