Class: B2bCenterApi::WebService::Types::TenderData

Inherits:
BaseType
  • Object
show all
Defined in:
lib/b2b_center_api/web_service/types/tender_data.rb

Overview

Конкурс

Constant Summary

Constants inherited from BaseType

BaseType::NO_INSPECT_ATTRS

Instance Attribute Summary collapse

Attributes inherited from BaseType

#date_fields, #soap_client

Class Method Summary collapse

Methods inherited from BaseType

#inspect, #to_h

Methods included from B2bCenterApi::WebService::TypeCast

included

Instance Attribute Details

#additional_informationObject

@return Дополнительная информация о конкурсе



69
70
71
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 69

def additional_information
  @additional_information
end

#alternative_offersObject

@return Альтернативные предложения 1 — Альтернативные предложения разрешены



107
108
109
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 107

def alternative_offers
  @alternative_offers
end

#applications_depositObject

@return Обеспечение конкурсных заявок, кроме банковских гарантий



47
48
49
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 47

def applications_deposit
  @applications_deposit
end

#committeeObject

@return Информация о конкурсной комиссии



35
36
37
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 35

def committee
  @committee
end

#common_nameString

Returns Предмет конкурса.

Returns:

  • (String)

    Предмет конкурса



17
18
19
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 17

def common_name
  @common_name
end

#competitive_offersObject

@return Конкурсные заявки — требования к оформлению



49
50
51
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 49

def competitive_offers
  @competitive_offers
end

#consideration_dateObject

@return Дата и время рассмотрения заявок (обязательно для организаций, работающих по 223-ФЗ). Формат значения dd.mm.YYYY HH:ii:ss



115
116
117
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 115

def consideration_date
  @consideration_date
end

#consideration_placeObject

@return Место рассмотрения заявок (обязательно для организаций, работающих по 223-ФЗ). Формат значения VARCHAR(255)



118
119
120
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 118

def consideration_place
  @consideration_place
end

#customer_fact_addressObject

@return Фактический адрес заказчика (только для организаций, работающих по 223-ФЗ). Формат значения VARCHAR(255)



129
130
131
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 129

def customer_fact_address
  @customer_fact_address
end

#customer_firm_idObject

@return ID организации заказчика (только когда организатор конкурса не является заказчиком)



126
127
128
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 126

def customer_firm_id
  @customer_firm_id
end

#customer_post_addressObject

@return Почтовый адрес заказчика (только для организаций, работающих по 223-ФЗ). Формат значения VARCHAR(255)



132
133
134
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 132

def customer_post_address
  @customer_post_address
end

#date_job_beginObject

@return Дата начала поставки товаров, проведения работ, оказания услуг. Формат значения dd.mm.YYYY



22
23
24
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 22

def date_job_begin
  @date_job_begin
end

#date_job_endObject

@return Дата окончания поставки товаров, проведения работ, оказания услуг. Формат значения dd.mm.YYYY



25
26
27
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 25

def date_job_end
  @date_job_end
end

#date_qualificationObject

@return Крайний срок подачи предквалификационных документов. Если поле отсутствует, либо = “”, то конкурс проводится без предквалификационного отбора. Формат значения dd.mm.YYYY HH:ii:ss



41
42
43
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 41

def date_qualification
  @date_qualification
end

#date_unsealingObject

@return Дата вскрытия конвертов. Формат значения dd.mm.YYYY HH:ii:ss



27
28
29
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 27

def date_unsealing
  @date_unsealing
end

#date_unsealing_commentInteger

Returns Часовой пояс Возможные значения

0 — "Время московское"
1 — "Время московское +1 час"
и т.д.

Returns:

  • (Integer)

    Часовой пояс Возможные значения

    0 — "Время московское"
    1 — "Время московское +1 час"
    и т.д.
    


33
34
35
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 33

def date_unsealing_comment
  @date_unsealing_comment
end

#guaranteeObject

@return Банковской гарантией обеспечиваются следующие обязательства участников конкурса

Возможные значения
  0 бит — обязательство не изменять и не отзывать Конкурсную заявку в течение срока ее действия
          после истечения срока окончания приема Конкурсных заявок;
  1 бит — Обязательство не предоставлять заведомо ложные сведения или намеренно не искажать информацию
          или документы, приведенные в составе Конкурсной заявки;
  2 бит — Обязательство подписать Протокол о результатах конкурса, в случае признания Участника конкурса
          Победителем конкурса и должного его уведомления об этом;
  3 бит — Обязательство заключить Договор в установленном настоящей Конкурсной документацией порядке
  Если поле guarantee = 0, либо отсутствует, то банковская гарантия не используется.


93
94
95
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 93

def guarantee
  @guarantee
end

#guarantee_amountObject

@return Размер обеспечения банковской гарантии в процентах



95
96
97
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 95

def guarantee_amount
  @guarantee_amount
end

#guarantee_valid_fromObject

@return Дата начала действия гарантии. Формат значения dd.mm.YYYY



97
98
99
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 97

def guarantee_valid_from
  @guarantee_valid_from
end

#guarantee_valid_toObject

@return Срок действия гарантии до. Формат значения dd.mm.YYYY



99
100
101
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 99

def guarantee_valid_to
  @guarantee_valid_to
end

#hagglingObject

@return Флаг проведения переторжки:

Возможные значения
  0 — без переторжки
  1 —с переторжкой


74
75
76
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 74

def haggling
  @haggling
end

#idInteger

При создании нового конкурса это поле можно опустить, либо =0

Returns:

  • (Integer)

    id конкурса



8
9
10
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 8

def id
  @id
end

#initial_priceObject

@return Начальная (лимитная) цена



60
61
62
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 60

def initial_price
  @initial_price
end

#lotsObject



19
20
21
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 19

def lots
  @lots
end

#openInteger

Returns Тип конкурса Возможные значения

0 — закрытый конкурс
1 — открытый конкурс
2 — закрытые конкурентные переговоры
3 — открытые конкурентные переговоры.

Returns:

  • (Integer)

    Тип конкурса Возможные значения

    0 — закрытый конкурс
    1 — открытый конкурс
    2 — закрытые конкурентные переговоры
    3 — открытые конкурентные переговоры
    


15
16
17
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 15

def open
  @open
end

#participantsTenderParticipant[]

Returns Информация об организации.

Returns:



37
38
39
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 37

def participants
  @participants
end

#price_mainObject

@return Тип цены, который будет использоваться при оценке предложений участников и выборе победителя

Возможны варианты:
  0 — цена с НДС
  1 — цена без НДС


104
105
106
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 104

def price_main
  @price_main
end

#price_onlyObject

@return Ценовой конкурс

Возможные значения
  1 — ценовой конкурс
  0 — нет


56
57
58
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 56

def price_only
  @price_only
end

#protocol_currencyObject

@return Валюта:

Возможные значения
  0 — руб,
  1 — USD,
  2 — EUR,
  4 — UAH


67
68
69
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 67

def protocol_currency
  @protocol_currency
end

#qualification_documentsObject

@return Квалификационные требования к участнику



43
44
45
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 43

def qualification_documents
  @qualification_documents
end

#responsible_user_emailObject

@return E-mail ответственного пользователя (только для организаций, работающих по 223-ФЗ). Формат значения VARCHAR(255)



124
125
126
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 124

def responsible_user_email
  @responsible_user_email
end

#responsible_user_idObject

@return Ответственный пользователь

Значение по умолчанию
  устанавливается текущий пользователь


82
83
84
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 82

def responsible_user_id
  @responsible_user_id
end

#responsible_user_phoneObject

@return Телефон ответственного пользователя (только для организаций, работающих по 223-ФЗ). Формат значения VARCHAR(255)



121
122
123
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 121

def responsible_user_phone
  @responsible_user_phone
end

#sel_dep_idObject

@return Подразделение

Значение по умолчанию
  0 — «вне подразделений»


78
79
80
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 78

def sel_dep_id
  @sel_dep_id
end

#summarizing_dateObject

@return Дата и время подведения итогов (обязательно для организаций, работающих по 223-ФЗ). Формат значения dd.mm.YYYY HH:ii:ss



135
136
137
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 135

def summarizing_date
  @summarizing_date
end

#summarizing_placeObject

@return Место подведения итогов (обязательно для организаций, работающих по 223-ФЗ). Формат значения VARCHAR(255)



138
139
140
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 138

def summarizing_place
  @summarizing_place
end

#tender_documentsObject

@return Комплект конкурсной документации



45
46
47
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 45

def tender_documents
  @tender_documents
end

#unsealingObject

@return Вскрытие конвертов с конкурсными заявками



51
52
53
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 51

def unsealing
  @unsealing
end

#urlObject

@return URL конкурса на площадке B2B. Поле возвращается при вызове метода RemoteTender.getData. В других случаях значение этого поля игнорируется. Формат значения VARCHAR(255)



112
113
114
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 112

def url
  @url
end

#winnerObject

@return Победитель конкурса



58
59
60
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 58

def winner
  @winner
end

Class Method Details

.from_response(response, client, tender_id) ⇒ TenderData

Returns:



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'lib/b2b_center_api/web_service/types/tender_data.rb', line 141

def self.from_response(response, client, tender_id)
  r = response.result[:tender_data]
  return if r.nil?

  t = TenderData.new
  t.soap_client = client
  t.id = tender_id
  t.open = convert(r[:open], :integer)
  t.common_name = r[:common_name]
  t.lots = Lot.from_response(r[:lots])
  t.date_job_begin = convert(r[:date_job_begin], :date)
  t.date_job_end = convert(r[:date_job_end], :date)
  t.date_unsealing = convert(r[:date_unsealing], :time)
  t.date_unsealing_comment = convert(r[:date_unsealing_comment], :integer)
  t.committee = r[:committee]
  t.participants = r[:participants]
  t.date_qualification = convert(r[:date_qualification], :time)
  t.qualification_documents = r[:qualification_documents]
  t.tender_documents = r[:tender_documents]
  t.applications_deposit = r[:applications_deposit]
  t.competitive_offers = r[:competitive_offers]
  t.unsealing = r[:unsealing]
  t.price_only = convert(r[:price_only], :integer)
  t.winner = r[:winner]
  t.initial_price = convert(r[:initial_price], :float)
  t.protocol_currency = convert(r[:protocol_currency], :integer)
  t.additional_information = r[:additional_information]
  t.haggling = convert(r[:haggling], :integer)
  t.sel_dep_id = convert(r[:sel_dep_id], :integer)
  t.responsible_user_id = convert(r[:responsible_user_id], :integer)
  t.guarantee = convert(r[:guarantee], :integer)
  t.guarantee_amount = convert(r[:guarantee_amount], :float)
  t.guarantee_valid_from = convert(r[:guarantee_valid_from], :date)
  t.guarantee_valid_to = convert(r[:guarantee_valid_to], :date)
  t.price_main = convert(r[:price_main], :integer)
  t.alternative_offers = convert(r[:alternative_offers], :integer)
  t.url = r[:url]
  t.consideration_date = convert(r[:consideration_date], :time)
  t.consideration_place = r[:consideration_place]
  t.responsible_user_phone = r[:responsible_user_phone]
  t.responsible_user_email = r[:responsible_user_email]
  t.customer_firm_id = convert(r[:customer_firm_id], :integer)
  t.customer_fact_address = r[:customer_fact_address]
  t.customer_post_address = r[:customer_post_address]
  t.summarizing_date = convert(r[:summarizing_date], :time)
  t.summarizing_place = r[:summarizing_place]
  t
end