Class: FullCitizenMapper

Inherits:
Object
  • Object
show all
Includes:
XmlSchemaMapper
Defined in:
app/mappers/full_citizen_mapper.rb

Overview

Note:

Сведения о человеке в объеме “Гражданин с датой, местом рождения и местом жительства” Сведения о человеке (№ - услуга, * - роль в услуге): 1) Перемена имени:

  • меняющий имя;

2) Внесение изменений:

  • заинтересованное лицо;

3) Рождение:

  • отец для услуги в типах 1,2;

  • мать для устуги в типах 1,2;

  • ребенок для услуги в типе 6.

4) Установление отцовства:

  • отец для услуги в типах 1,2,3;

  • мать для услуги в типе 1;

5) Заключение брака:

  • новобрачный для услуги в типе 1;

6) Усыновление:

  • усынавливающий;

7) Расторжение брака:

  • разводящийся в типах 1,2,3.

8) Повторная выдача:

  • заинтересованное лицо для услуги в типе рождение;

Instance Attribute Summary collapse

Instance Attribute Details

#birth_dateDateAgileMapper

Дата рождения minOccurs: 0, maxOccurs: 1

Returns:



57
58
59
# File 'app/mappers/full_citizen_mapper.rb', line 57

def birth_date
  @birth_date
end

#birth_placeShortAddressMapper

Место рождения minOccurs: 0, maxOccurs: 1

Returns:



61
62
63
# File 'app/mappers/full_citizen_mapper.rb', line 61

def birth_place
  @birth_place
end

#citizenshipCITIZENSHIP

Код гражданства по классификатору ОКСМ minOccurs: 0, maxOccurs: 1

Returns:

  • (CITIZENSHIP)


65
66
67
# File 'app/mappers/full_citizen_mapper.rb', line 65

def citizenship
  @citizenship
end

#citizenship_stringSTRING80

Гражданство, строковое представление (отличное от кода в ОКСМ) minOccurs: 0, maxOccurs: 1

Returns:

  • (STRING80)


69
70
71
# File 'app/mappers/full_citizen_mapper.rb', line 69

def citizenship_string
  @citizenship_string
end

#first_nameSTRING60

Имя minOccurs: 1, maxOccurs: 1

Returns:

  • (STRING60)


45
46
47
# File 'app/mappers/full_citizen_mapper.rb', line 45

def first_name
  @first_name
end

#genderGENDERS

Пол minOccurs: 0, maxOccurs: 1

Returns:

  • (GENDERS)


53
54
55
# File 'app/mappers/full_citizen_mapper.rb', line 53

def gender
  @gender
end

#identity_documentIdentityDocumentMapper

Докумен, удостоверяющий личность minOccurs: 0, maxOccurs: 1



100
101
102
# File 'app/mappers/full_citizen_mapper.rb', line 100

def identity_document
  @identity_document
end

#is_applicantBoolean

Признак “Является ли Заявителем” minOccurs: 0, maxOccurs: 1

Returns:

  • (Boolean)


37
38
39
# File 'app/mappers/full_citizen_mapper.rb', line 37

def is_applicant
  @is_applicant
end

#is_private_office_ownerBoolean

Признак “Является ли инициатор отправки заявления владельцем личного кабинета” minOccurs: 0, maxOccurs: 1

Returns:

  • (Boolean)


33
34
35
# File 'app/mappers/full_citizen_mapper.rb', line 33

def is_private_office_owner
  @is_private_office_owner
end

#marital_statusInt

Семейное положение minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


85
86
87
# File 'app/mappers/full_citizen_mapper.rb', line 85

def marital_status
  @marital_status
end

#nationalityOKINCode

Код национальности по классификатору OkinNationality minOccurs: 0, maxOccurs: 1

Returns:

  • (OKINCode)


73
74
75
# File 'app/mappers/full_citizen_mapper.rb', line 73

def nationality
  @nationality
end

#nationality_stringSTRING40

Национальность, строковое представление (отличное от кода в OkinNationality) minOccurs: 0, maxOccurs: 1

Returns:

  • (STRING40)


77
78
79
# File 'app/mappers/full_citizen_mapper.rb', line 77

def nationality_string
  @nationality_string
end

#patronymicSTRING60

Отчество minOccurs: 0, maxOccurs: 1

Returns:

  • (STRING60)


49
50
51
# File 'app/mappers/full_citizen_mapper.rb', line 49

def patronymic
  @patronymic
end

#phone_numberPHONE

Контактный телефон minOccurs: 0, maxOccurs: 1

Returns:

  • (PHONE)


92
93
94
# File 'app/mappers/full_citizen_mapper.rb', line 92

def phone_number
  @phone_number
end

#residence_placeFullAddressMapper

Место жительства minOccurs: 0, maxOccurs: 1

Returns:



81
82
83
# File 'app/mappers/full_citizen_mapper.rb', line 81

def residence_place
  @residence_place
end

#snilsSNILS

minOccurs: 0, maxOccurs: 1

Returns:

  • (SNILS)


88
89
90
# File 'app/mappers/full_citizen_mapper.rb', line 88

def snils
  @snils
end

#surnameSTRING60

Фамилия minOccurs: 1, maxOccurs: 1

Returns:

  • (STRING60)


41
42
43
# File 'app/mappers/full_citizen_mapper.rb', line 41

def surname
  @surname
end

#work_phone_numberPHONE

Рабочий номер телефона minOccurs: 0, maxOccurs: 1

Returns:

  • (PHONE)


96
97
98
# File 'app/mappers/full_citizen_mapper.rb', line 96

def work_phone_number
  @work_phone_number
end