Class: FullAddressMapper

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

Overview

Note:

Сведения об адресе с точностью до квартиры

Instance Attribute Summary collapse

Instance Attribute Details

#appartmentSTRING20

квартира/помещение/офис minOccurs: 0, maxOccurs: 1



64
65
66
# File 'app/mappers/full_address_mapper.rb', line 64

def appartment
  @appartment
end

#buildingSTRING10

корпус/строение/сооружение/литера minOccurs: 0, maxOccurs: 1



60
61
62
# File 'app/mappers/full_address_mapper.rb', line 60

def building
  @building
end

#citySTRING80

Город, строковое представление minOccurs: 0, maxOccurs: 1



44
45
46
# File 'app/mappers/full_address_mapper.rb', line 44

def city
  @city
end

#countrySTRING80

Страна, строковое представление minOccurs: 0, maxOccurs: 1



32
33
34
# File 'app/mappers/full_address_mapper.rb', line 32

def country
  @country
end

#country_codeOKSMCode

код страны по ОКСМ minOccurs: 0, maxOccurs: 1



16
17
18
# File 'app/mappers/full_address_mapper.rb', line 16

def country_code
  @country_code
end

#districtSTRING80

Район, строковое представление minOccurs: 0, maxOccurs: 1



40
41
42
# File 'app/mappers/full_address_mapper.rb', line 40

def district
  @district
end

#houseSTRING20

дом/владение/домовладение/участок minOccurs: 0, maxOccurs: 1



56
57
58
# File 'app/mappers/full_address_mapper.rb', line 56

def house
  @house
end

#klade_fias_codeKLADEFiasCode

Код по классификатору ФИАС КЛАДЭ minOccurs: 1, maxOccurs: 1



28
29
30
# File 'app/mappers/full_address_mapper.rb', line 28

def klade_fias_code
  @klade_fias_code
end

#kladr_codeKLADRCode

Код адреса по классификатору КЛАДР до уровня населенного пункта minOccurs: 1, maxOccurs: 1



24
25
26
# File 'app/mappers/full_address_mapper.rb', line 24

def kladr_code
  @kladr_code
end

#okato_codeOKATOCode

код по классификатору ОКАТО minOccurs: 0, maxOccurs: 1



12
13
14
# File 'app/mappers/full_address_mapper.rb', line 12

def okato_code
  @okato_code
end

#raw_address_stringNOTEmptyString

адрес в первоначальном виде (как записан в документе). Только для визуальной верификации сотрудником ЗАГС! minOccurs: 1, maxOccurs: 1



20
21
22
# File 'app/mappers/full_address_mapper.rb', line 20

def raw_address_string
  @raw_address_string
end

#regionSTRING80

Субъект РФ, строковое представление minOccurs: 0, maxOccurs: 1



36
37
38
# File 'app/mappers/full_address_mapper.rb', line 36

def region
  @region
end

#settlementSTRING80

Населенный пункт, строковое представленеи minOccurs: 0, maxOccurs: 1



48
49
50
# File 'app/mappers/full_address_mapper.rb', line 48

def settlement
  @settlement
end

#streetSTRING80

Улица minOccurs: 0, maxOccurs: 1



52
53
54
# File 'app/mappers/full_address_mapper.rb', line 52

def street
  @street
end