Class: MessageTypeMapper
- Inherits:
-
Object
- Object
- MessageTypeMapper
- Includes:
- XmlSchemaMapper
- Defined in:
- app/mappers/message_type_mapper.rb
Instance Attribute Summary collapse
-
#case_number ⇒ String
Номер заявки в информационной системе-отправителе minOccurs: 0, maxOccurs: 1.
-
#date ⇒ DateTime
Дата создания запроса minOccurs: 1, maxOccurs: 1.
-
#exchange_type ⇒ String
Категория взаимодействия minOccurs: 1, maxOccurs: 1.
-
#origin_request_id_ref ⇒ IdType
Идентификатор сообщения-запроса, инициировавшего цепочку из нескольких запросов-ответов, объединенных единым процессом в рамках взаимодействия minOccurs: 0, maxOccurs: 1.
-
#originator ⇒ OrgExternalTypeMapper
Данные о системе, инициировавашейинициировавшей цепочку из нескольких запросов-ответов, объединенных единым процессом в рамках взаимодействия minOccurs: 0, maxOccurs: 1.
-
#recipient ⇒ OrgExternalTypeMapper
Данные о системе-получателе сообщения (Поставщике) (валидируется СМЭВ реструреестру поставщиков) minOccurs: 1, maxOccurs: 1.
-
#request_id_ref ⇒ IdType
Идентификатор сообщения-запроса, инициировавшего взаимодействие minOccurs: 0, maxOccurs: 1.
-
#sender ⇒ OrgExternalTypeMapper
Данные о системе-инициаторе взаимодействия (Потребителе) (валидируется СМЭВ на соответствие сертификату) minOccurs: 1, maxOccurs: 1.
-
#service_code ⇒ String
Код услуги minOccurs: 0, maxOccurs: 1.
-
#service_name ⇒ String
Мнемоника электронного сервиса minOccurs: 1, maxOccurs: 1.
-
#status ⇒ StatusType
Статус сообщения minOccurs: 1, maxOccurs: 1.
-
#sub_messages ⇒ SubMessagesTypeMapper
Набор описей заявок пакета minOccurs: 0, maxOccurs: 1.
-
#test_msg ⇒ String
Идентификатор тестового запроса minOccurs: 0, maxOccurs: 1.
-
#type_code ⇒ TypeCodeType
Тип сообщения minOccurs: 1, maxOccurs: 1.
Instance Attribute Details
#case_number ⇒ String
Номер заявки в информационной системе-отправителе minOccurs: 0, maxOccurs: 1
62 63 64 |
# File 'app/mappers/message_type_mapper.rb', line 62 def case_number @case_number end |
#date ⇒ DateTime
Дата создания запроса minOccurs: 1, maxOccurs: 1
39 40 41 |
# File 'app/mappers/message_type_mapper.rb', line 39 def date @date end |
#exchange_type ⇒ String
Категория взаимодействия minOccurs: 1, maxOccurs: 1
43 44 45 |
# File 'app/mappers/message_type_mapper.rb', line 43 def exchange_type @exchange_type end |
#origin_request_id_ref ⇒ IdType
Идентификатор сообщения-запроса, инициировавшего цепочку из нескольких запросов-ответов, объединенных единым процессом в рамках взаимодействия minOccurs: 0, maxOccurs: 1
54 55 56 |
# File 'app/mappers/message_type_mapper.rb', line 54 def origin_request_id_ref @origin_request_id_ref end |
#originator ⇒ OrgExternalTypeMapper
Данные о системе, инициировавашейинициировавшей цепочку из нескольких запросов-ответов, объединенных единым процессом в рамках взаимодействия minOccurs: 0, maxOccurs: 1
23 24 25 |
# File 'app/mappers/message_type_mapper.rb', line 23 def originator @originator end |
#recipient ⇒ OrgExternalTypeMapper
Данные о системе-получателе сообщения (Поставщике) (валидируется СМЭВ реструреестру поставщиков) minOccurs: 1, maxOccurs: 1
17 18 19 |
# File 'app/mappers/message_type_mapper.rb', line 17 def recipient @recipient end |
#request_id_ref ⇒ IdType
Идентификатор сообщения-запроса, инициировавшего взаимодействие minOccurs: 0, maxOccurs: 1
48 49 50 |
# File 'app/mappers/message_type_mapper.rb', line 48 def request_id_ref @request_id_ref end |
#sender ⇒ OrgExternalTypeMapper
Данные о системе-инициаторе взаимодействия (Потребителе) (валидируется СМЭВ на соответствие сертификату) minOccurs: 1, maxOccurs: 1
12 13 14 |
# File 'app/mappers/message_type_mapper.rb', line 12 def sender @sender end |
#service_code ⇒ String
Код услуги minOccurs: 0, maxOccurs: 1
58 59 60 |
# File 'app/mappers/message_type_mapper.rb', line 58 def service_code @service_code end |
#service_name ⇒ String
Мнемоника электронного сервиса minOccurs: 1, maxOccurs: 1
27 28 29 |
# File 'app/mappers/message_type_mapper.rb', line 27 def service_name @service_name end |
#status ⇒ StatusType
Статус сообщения minOccurs: 1, maxOccurs: 1
35 36 37 |
# File 'app/mappers/message_type_mapper.rb', line 35 def status @status end |
#sub_messages ⇒ SubMessagesTypeMapper
Набор описей заявок пакета minOccurs: 0, maxOccurs: 1
66 67 68 |
# File 'app/mappers/message_type_mapper.rb', line 66 def @sub_messages end |
#test_msg ⇒ String
Идентификатор тестового запроса minOccurs: 0, maxOccurs: 1
70 71 72 |
# File 'app/mappers/message_type_mapper.rb', line 70 def test_msg @test_msg end |
#type_code ⇒ TypeCodeType
Тип сообщения minOccurs: 1, maxOccurs: 1
31 32 33 |
# File 'app/mappers/message_type_mapper.rb', line 31 def type_code @type_code end |