yoomoney 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +1 -1
  4. data/lib/yoomoney/internal/util.rb +31 -0
  5. data/lib/yoomoney/models/airline.rb +50 -6
  6. data/lib/yoomoney/models/deal_retrieve_params.rb +7 -1
  7. data/lib/yoomoney/models/invoice_retrieve_params.rb +7 -1
  8. data/lib/yoomoney/models/payment_cancel_params.rb +7 -1
  9. data/lib/yoomoney/models/payment_capture_params.rb +8 -1
  10. data/lib/yoomoney/models/payment_method_retrieve_params.rb +7 -1
  11. data/lib/yoomoney/models/payment_retrieve_params.rb +7 -1
  12. data/lib/yoomoney/models/payout_retrieve_params.rb +7 -1
  13. data/lib/yoomoney/models/personal_data_create_params.rb +70 -46
  14. data/lib/yoomoney/models/personal_data_retrieve_params.rb +7 -1
  15. data/lib/yoomoney/models/receipt_create_params.rb +120 -2
  16. data/lib/yoomoney/models/receipt_data.rb +123 -3
  17. data/lib/yoomoney/models/receipt_retrieve_params.rb +7 -1
  18. data/lib/yoomoney/models/refund_retrieve_params.rb +7 -1
  19. data/lib/yoomoney/models/webhook_delete_params.rb +7 -1
  20. data/lib/yoomoney/models.rb +0 -6
  21. data/lib/yoomoney/resources/deals.rb +2 -1
  22. data/lib/yoomoney/resources/me.rb +2 -1
  23. data/lib/yoomoney/resources/payments.rb +2 -1
  24. data/lib/yoomoney/resources/payouts.rb +4 -2
  25. data/lib/yoomoney/resources/personal_data.rb +4 -16
  26. data/lib/yoomoney/resources/receipts.rb +2 -1
  27. data/lib/yoomoney/resources/refunds.rb +2 -1
  28. data/lib/yoomoney/version.rb +1 -1
  29. data/lib/yoomoney.rb +1 -4
  30. data/rbi/yoomoney/internal/util.rbi +20 -0
  31. data/rbi/yoomoney/models/airline.rbi +84 -8
  32. data/rbi/yoomoney/models/deal_retrieve_params.rbi +13 -5
  33. data/rbi/yoomoney/models/invoice_retrieve_params.rbi +13 -5
  34. data/rbi/yoomoney/models/payment_cancel_params.rbi +10 -2
  35. data/rbi/yoomoney/models/payment_capture_params.rbi +6 -0
  36. data/rbi/yoomoney/models/payment_method_retrieve_params.rbi +16 -5
  37. data/rbi/yoomoney/models/payment_retrieve_params.rbi +13 -5
  38. data/rbi/yoomoney/models/payout_retrieve_params.rbi +13 -5
  39. data/rbi/yoomoney/models/personal_data_create_params.rbi +140 -55
  40. data/rbi/yoomoney/models/personal_data_retrieve_params.rbi +16 -5
  41. data/rbi/yoomoney/models/receipt_create_params.rbi +159 -1
  42. data/rbi/yoomoney/models/receipt_data.rbi +185 -3
  43. data/rbi/yoomoney/models/receipt_retrieve_params.rbi +13 -5
  44. data/rbi/yoomoney/models/refund_retrieve_params.rbi +13 -5
  45. data/rbi/yoomoney/models/webhook_delete_params.rbi +13 -5
  46. data/rbi/yoomoney/models.rbi +0 -6
  47. data/rbi/yoomoney/resources/personal_data.rbi +7 -19
  48. data/sig/yoomoney/internal/util.rbs +10 -0
  49. data/sig/yoomoney/models/airline.rbs +58 -12
  50. data/sig/yoomoney/models/deal_retrieve_params.rbs +11 -3
  51. data/sig/yoomoney/models/invoice_retrieve_params.rbs +11 -3
  52. data/sig/yoomoney/models/payment_cancel_params.rbs +6 -1
  53. data/sig/yoomoney/models/payment_capture_params.rbs +5 -0
  54. data/sig/yoomoney/models/payment_method_retrieve_params.rbs +12 -3
  55. data/sig/yoomoney/models/payment_retrieve_params.rbs +11 -3
  56. data/sig/yoomoney/models/payout_retrieve_params.rbs +11 -3
  57. data/sig/yoomoney/models/personal_data_create_params.rbs +73 -29
  58. data/sig/yoomoney/models/personal_data_retrieve_params.rbs +12 -3
  59. data/sig/yoomoney/models/receipt_create_params.rbs +119 -7
  60. data/sig/yoomoney/models/receipt_data.rbs +128 -4
  61. data/sig/yoomoney/models/receipt_retrieve_params.rbs +11 -3
  62. data/sig/yoomoney/models/refund_retrieve_params.rbs +11 -3
  63. data/sig/yoomoney/models/webhook_delete_params.rbs +11 -3
  64. data/sig/yoomoney/models.rbs +0 -6
  65. data/sig/yoomoney/resources/personal_data.rbs +1 -5
  66. metadata +2 -11
  67. data/lib/yoomoney/models/airline_leg.rb +0 -33
  68. data/lib/yoomoney/models/airline_passenger.rb +0 -21
  69. data/lib/yoomoney/models/receipt_data_item.rb +0 -125
  70. data/rbi/yoomoney/models/airline_leg.rbi +0 -56
  71. data/rbi/yoomoney/models/airline_passenger.rbi +0 -28
  72. data/rbi/yoomoney/models/receipt_data_item.rbi +0 -185
  73. data/sig/yoomoney/models/airline_leg.rbs +0 -37
  74. data/sig/yoomoney/models/airline_passenger.rbs +0 -15
  75. data/sig/yoomoney/models/receipt_data_item.rbs +0 -127
@@ -14,15 +14,26 @@ module Yoomoney
14
14
  )
15
15
  end
16
16
 
17
+ sig { returns(String) }
18
+ attr_accessor :payment_method_id
19
+
17
20
  sig do
18
- params(request_options: Yoomoney::RequestOptions::OrHash).returns(
19
- T.attached_class
20
- )
21
+ params(
22
+ payment_method_id: String,
23
+ request_options: Yoomoney::RequestOptions::OrHash
24
+ ).returns(T.attached_class)
21
25
  end
22
- def self.new(request_options: {})
26
+ def self.new(payment_method_id:, request_options: {})
23
27
  end
24
28
 
25
- sig { override.returns({ request_options: Yoomoney::RequestOptions }) }
29
+ sig do
30
+ override.returns(
31
+ {
32
+ payment_method_id: String,
33
+ request_options: Yoomoney::RequestOptions
34
+ }
35
+ )
36
+ end
26
37
  def to_hash
27
38
  end
28
39
  end
@@ -11,15 +11,23 @@ module Yoomoney
11
11
  T.any(Yoomoney::PaymentRetrieveParams, Yoomoney::Internal::AnyHash)
12
12
  end
13
13
 
14
+ sig { returns(String) }
15
+ attr_accessor :payment_id
16
+
14
17
  sig do
15
- params(request_options: Yoomoney::RequestOptions::OrHash).returns(
16
- T.attached_class
17
- )
18
+ params(
19
+ payment_id: String,
20
+ request_options: Yoomoney::RequestOptions::OrHash
21
+ ).returns(T.attached_class)
18
22
  end
19
- def self.new(request_options: {})
23
+ def self.new(payment_id:, request_options: {})
20
24
  end
21
25
 
22
- sig { override.returns({ request_options: Yoomoney::RequestOptions }) }
26
+ sig do
27
+ override.returns(
28
+ { payment_id: String, request_options: Yoomoney::RequestOptions }
29
+ )
30
+ end
23
31
  def to_hash
24
32
  end
25
33
  end
@@ -11,15 +11,23 @@ module Yoomoney
11
11
  T.any(Yoomoney::PayoutRetrieveParams, Yoomoney::Internal::AnyHash)
12
12
  end
13
13
 
14
+ sig { returns(String) }
15
+ attr_accessor :payout_id
16
+
14
17
  sig do
15
- params(request_options: Yoomoney::RequestOptions::OrHash).returns(
16
- T.attached_class
17
- )
18
+ params(
19
+ payout_id: String,
20
+ request_options: Yoomoney::RequestOptions::OrHash
21
+ ).returns(T.attached_class)
18
22
  end
19
- def self.new(request_options: {})
23
+ def self.new(payout_id:, request_options: {})
20
24
  end
21
25
 
22
- sig { override.returns({ request_options: Yoomoney::RequestOptions }) }
26
+ sig do
27
+ override.returns(
28
+ { payout_id: String, request_options: Yoomoney::RequestOptions }
29
+ )
30
+ end
23
31
  def to_hash
24
32
  end
25
33
  end
@@ -11,83 +11,168 @@ module Yoomoney
11
11
  T.any(Yoomoney::PersonalDataCreateParams, Yoomoney::Internal::AnyHash)
12
12
  end
13
13
 
14
- # Имя.
15
- sig { returns(String) }
16
- attr_accessor :first_name
17
-
18
- # Фамилия.
19
- sig { returns(String) }
20
- attr_accessor :last_name
21
-
22
- # Тип персональных данных.
23
- sig { returns(Yoomoney::PersonalDataType::OrSymbol) }
24
- attr_accessor :type
14
+ sig do
15
+ returns(
16
+ T.any(
17
+ Yoomoney::PersonalDataCreateParams::Body::SbpPayoutRecipientPersonalDataRequest,
18
+ Yoomoney::PersonalDataCreateParams::Body::PayoutStatementRecipientPersonalDataRequest
19
+ )
20
+ )
21
+ end
22
+ attr_accessor :body
25
23
 
26
24
  sig { returns(String) }
27
25
  attr_accessor :idempotence_key
28
26
 
29
- # Любые дополнительные данные, которые нужны вам для работы (например, номер
30
- # заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от
31
- # ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов,
32
- # значение ключа не больше 512 символов, тип данных — строка в формате UTF-8.
33
- sig { returns(T.nilable(T::Hash[Symbol, String])) }
34
- attr_reader :metadata
35
-
36
- sig { params(metadata: T::Hash[Symbol, String]).void }
37
- attr_writer :metadata
38
-
39
- # Отчество.
40
- sig { returns(T.nilable(String)) }
41
- attr_reader :middle_name
42
-
43
- sig { params(middle_name: String).void }
44
- attr_writer :middle_name
45
-
46
27
  sig do
47
28
  params(
48
- first_name: String,
49
- last_name: String,
50
- type: Yoomoney::PersonalDataType::OrSymbol,
29
+ body:
30
+ T.any(
31
+ Yoomoney::PersonalDataCreateParams::Body::SbpPayoutRecipientPersonalDataRequest::OrHash,
32
+ Yoomoney::PersonalDataCreateParams::Body::PayoutStatementRecipientPersonalDataRequest::OrHash
33
+ ),
51
34
  idempotence_key: String,
52
- metadata: T::Hash[Symbol, String],
53
- middle_name: String,
54
35
  request_options: Yoomoney::RequestOptions::OrHash
55
36
  ).returns(T.attached_class)
56
37
  end
57
- def self.new(
58
- # Имя.
59
- first_name:,
60
- # Фамилия.
61
- last_name:,
62
- # Тип персональных данных.
63
- type:,
64
- idempotence_key:,
65
- # Любые дополнительные данные, которые нужны вам для работы (например, номер
66
- # заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от
67
- # ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов,
68
- # значение ключа не больше 512 символов, тип данных — строка в формате UTF-8.
69
- metadata: nil,
70
- # Отчество.
71
- middle_name: nil,
72
- request_options: {}
73
- )
38
+ def self.new(body:, idempotence_key:, request_options: {})
74
39
  end
75
40
 
76
41
  sig do
77
42
  override.returns(
78
43
  {
79
- first_name: String,
80
- last_name: String,
81
- type: Yoomoney::PersonalDataType::OrSymbol,
44
+ body:
45
+ T.any(
46
+ Yoomoney::PersonalDataCreateParams::Body::SbpPayoutRecipientPersonalDataRequest,
47
+ Yoomoney::PersonalDataCreateParams::Body::PayoutStatementRecipientPersonalDataRequest
48
+ ),
82
49
  idempotence_key: String,
83
- metadata: T::Hash[Symbol, String],
84
- middle_name: String,
85
50
  request_options: Yoomoney::RequestOptions
86
51
  }
87
52
  )
88
53
  end
89
54
  def to_hash
90
55
  end
56
+
57
+ module Body
58
+ extend Yoomoney::Internal::Type::Union
59
+
60
+ Variants =
61
+ T.type_alias do
62
+ T.any(
63
+ Yoomoney::PersonalDataCreateParams::Body::SbpPayoutRecipientPersonalDataRequest,
64
+ Yoomoney::PersonalDataCreateParams::Body::PayoutStatementRecipientPersonalDataRequest
65
+ )
66
+ end
67
+
68
+ class SbpPayoutRecipientPersonalDataRequest < Yoomoney::Models::PersonalDataRequest
69
+ OrHash =
70
+ T.type_alias do
71
+ T.any(
72
+ Yoomoney::PersonalDataCreateParams::Body::SbpPayoutRecipientPersonalDataRequest,
73
+ Yoomoney::Internal::AnyHash
74
+ )
75
+ end
76
+
77
+ # Имя.
78
+ sig { returns(String) }
79
+ attr_accessor :first_name
80
+
81
+ # Фамилия.
82
+ sig { returns(String) }
83
+ attr_accessor :last_name
84
+
85
+ # Отчество.
86
+ sig { returns(T.nilable(String)) }
87
+ attr_reader :middle_name
88
+
89
+ sig { params(middle_name: String).void }
90
+ attr_writer :middle_name
91
+
92
+ sig do
93
+ params(
94
+ first_name: String,
95
+ last_name: String,
96
+ middle_name: String
97
+ ).returns(T.attached_class)
98
+ end
99
+ def self.new(
100
+ # Имя.
101
+ first_name:,
102
+ # Фамилия.
103
+ last_name:,
104
+ # Отчество.
105
+ middle_name: nil
106
+ )
107
+ end
108
+
109
+ sig do
110
+ override.returns(
111
+ { first_name: String, last_name: String, middle_name: String }
112
+ )
113
+ end
114
+ def to_hash
115
+ end
116
+ end
117
+
118
+ class PayoutStatementRecipientPersonalDataRequest < Yoomoney::Models::PersonalDataRequest
119
+ OrHash =
120
+ T.type_alias do
121
+ T.any(
122
+ Yoomoney::PersonalDataCreateParams::Body::PayoutStatementRecipientPersonalDataRequest,
123
+ Yoomoney::Internal::AnyHash
124
+ )
125
+ end
126
+
127
+ # Имя.
128
+ sig { returns(String) }
129
+ attr_accessor :first_name
130
+
131
+ # Фамилия.
132
+ sig { returns(String) }
133
+ attr_accessor :last_name
134
+
135
+ # Отчество.
136
+ sig { returns(T.nilable(String)) }
137
+ attr_reader :middle_name
138
+
139
+ sig { params(middle_name: String).void }
140
+ attr_writer :middle_name
141
+
142
+ sig do
143
+ params(
144
+ first_name: String,
145
+ last_name: String,
146
+ middle_name: String
147
+ ).returns(T.attached_class)
148
+ end
149
+ def self.new(
150
+ # Имя.
151
+ first_name:,
152
+ # Фамилия.
153
+ last_name:,
154
+ # Отчество.
155
+ middle_name: nil
156
+ )
157
+ end
158
+
159
+ sig do
160
+ override.returns(
161
+ { first_name: String, last_name: String, middle_name: String }
162
+ )
163
+ end
164
+ def to_hash
165
+ end
166
+ end
167
+
168
+ sig do
169
+ override.returns(
170
+ T::Array[Yoomoney::PersonalDataCreateParams::Body::Variants]
171
+ )
172
+ end
173
+ def self.variants
174
+ end
175
+ end
91
176
  end
92
177
  end
93
178
  end
@@ -14,15 +14,26 @@ module Yoomoney
14
14
  )
15
15
  end
16
16
 
17
+ sig { returns(String) }
18
+ attr_accessor :personal_data_id
19
+
17
20
  sig do
18
- params(request_options: Yoomoney::RequestOptions::OrHash).returns(
19
- T.attached_class
20
- )
21
+ params(
22
+ personal_data_id: String,
23
+ request_options: Yoomoney::RequestOptions::OrHash
24
+ ).returns(T.attached_class)
21
25
  end
22
- def self.new(request_options: {})
26
+ def self.new(personal_data_id:, request_options: {})
23
27
  end
24
28
 
25
- sig { override.returns({ request_options: Yoomoney::RequestOptions }) }
29
+ sig do
30
+ override.returns(
31
+ {
32
+ personal_data_id: String,
33
+ request_options: Yoomoney::RequestOptions
34
+ }
35
+ )
36
+ end
26
37
  def to_hash
27
38
  end
28
39
  end
@@ -196,7 +196,7 @@ module Yoomoney
196
196
  def to_hash
197
197
  end
198
198
 
199
- class Item < Yoomoney::Models::ReceiptDataItem
199
+ class Item < Yoomoney::Internal::Type::BaseModel
200
200
  OrHash =
201
201
  T.type_alias do
202
202
  T.any(
@@ -205,6 +205,25 @@ module Yoomoney
205
205
  )
206
206
  end
207
207
 
208
+ # Сумма.
209
+ sig { returns(Yoomoney::MonetaryAmount) }
210
+ attr_reader :amount
211
+
212
+ sig { params(amount: Yoomoney::MonetaryAmount::OrHash).void }
213
+ attr_writer :amount
214
+
215
+ # Название товара.
216
+ sig { returns(String) }
217
+ attr_accessor :description
218
+
219
+ # Количество.
220
+ sig { returns(Float) }
221
+ attr_accessor :quantity
222
+
223
+ # Ставка НДС.
224
+ sig { returns(Integer) }
225
+ attr_accessor :vat_code
226
+
208
227
  # Дополнительный реквизит предмета расчета.
209
228
  sig { returns(T.nilable(String)) }
210
229
  attr_reader :additional_payment_subject_props
@@ -220,6 +239,91 @@ module Yoomoney
220
239
  end
221
240
  attr_writer :agent_type
222
241
 
242
+ sig { returns(T.nilable(String)) }
243
+ attr_reader :country_of_origin_code
244
+
245
+ sig { params(country_of_origin_code: String).void }
246
+ attr_writer :country_of_origin_code
247
+
248
+ sig { returns(T.nilable(String)) }
249
+ attr_reader :customs_declaration_number
250
+
251
+ sig { params(customs_declaration_number: String).void }
252
+ attr_writer :customs_declaration_number
253
+
254
+ sig { returns(T.nilable(String)) }
255
+ attr_reader :excise
256
+
257
+ sig { params(excise: String).void }
258
+ attr_writer :excise
259
+
260
+ sig { returns(T.nilable(Yoomoney::MarkCodeInfo)) }
261
+ attr_reader :mark_code_info
262
+
263
+ sig { params(mark_code_info: Yoomoney::MarkCodeInfo::OrHash).void }
264
+ attr_writer :mark_code_info
265
+
266
+ sig { returns(T.nilable(String)) }
267
+ attr_reader :mark_mode
268
+
269
+ sig { params(mark_mode: String).void }
270
+ attr_writer :mark_mode
271
+
272
+ sig { returns(T.nilable(Yoomoney::MarkQuantity)) }
273
+ attr_reader :mark_quantity
274
+
275
+ sig { params(mark_quantity: Yoomoney::MarkQuantity::OrHash).void }
276
+ attr_writer :mark_quantity
277
+
278
+ sig { returns(T.nilable(Yoomoney::ReceiptItemMeasure::OrSymbol)) }
279
+ attr_reader :measure
280
+
281
+ sig { params(measure: Yoomoney::ReceiptItemMeasure::OrSymbol).void }
282
+ attr_writer :measure
283
+
284
+ sig { returns(T.nilable(Yoomoney::ReceiptItemPaymentMode::OrSymbol)) }
285
+ attr_reader :payment_mode
286
+
287
+ sig do
288
+ params(payment_mode: Yoomoney::ReceiptItemPaymentMode::OrSymbol).void
289
+ end
290
+ attr_writer :payment_mode
291
+
292
+ sig do
293
+ returns(T.nilable(Yoomoney::ReceiptItemPaymentSubject::OrSymbol))
294
+ end
295
+ attr_reader :payment_subject
296
+
297
+ sig do
298
+ params(
299
+ payment_subject: Yoomoney::ReceiptItemPaymentSubject::OrSymbol
300
+ ).void
301
+ end
302
+ attr_writer :payment_subject
303
+
304
+ sig { returns(T.nilable(T::Array[Yoomoney::IndustryDetails])) }
305
+ attr_reader :payment_subject_industry_details
306
+
307
+ sig do
308
+ params(
309
+ payment_subject_industry_details:
310
+ T::Array[Yoomoney::IndustryDetails::OrHash]
311
+ ).void
312
+ end
313
+ attr_writer :payment_subject_industry_details
314
+
315
+ sig { returns(T.nilable(Integer)) }
316
+ attr_reader :planned_status
317
+
318
+ sig { params(planned_status: Integer).void }
319
+ attr_writer :planned_status
320
+
321
+ sig { returns(T.nilable(String)) }
322
+ attr_reader :product_code
323
+
324
+ sig { params(product_code: String).void }
325
+ attr_writer :product_code
326
+
223
327
  sig do
224
328
  returns(T.nilable(Yoomoney::ReceiptCreateParams::Item::Supplier))
225
329
  end
@@ -234,15 +338,52 @@ module Yoomoney
234
338
 
235
339
  sig do
236
340
  params(
341
+ amount: Yoomoney::MonetaryAmount::OrHash,
342
+ description: String,
343
+ quantity: Float,
344
+ vat_code: Integer,
237
345
  additional_payment_subject_props: String,
238
346
  agent_type: Yoomoney::ReceiptItemAgentType::OrSymbol,
347
+ country_of_origin_code: String,
348
+ customs_declaration_number: String,
349
+ excise: String,
350
+ mark_code_info: Yoomoney::MarkCodeInfo::OrHash,
351
+ mark_mode: String,
352
+ mark_quantity: Yoomoney::MarkQuantity::OrHash,
353
+ measure: Yoomoney::ReceiptItemMeasure::OrSymbol,
354
+ payment_mode: Yoomoney::ReceiptItemPaymentMode::OrSymbol,
355
+ payment_subject: Yoomoney::ReceiptItemPaymentSubject::OrSymbol,
356
+ payment_subject_industry_details:
357
+ T::Array[Yoomoney::IndustryDetails::OrHash],
358
+ planned_status: Integer,
359
+ product_code: String,
239
360
  supplier: Yoomoney::ReceiptCreateParams::Item::Supplier::OrHash
240
361
  ).returns(T.attached_class)
241
362
  end
242
363
  def self.new(
364
+ # Сумма.
365
+ amount:,
366
+ # Название товара.
367
+ description:,
368
+ # Количество.
369
+ quantity:,
370
+ # Ставка НДС.
371
+ vat_code:,
243
372
  # Дополнительный реквизит предмета расчета.
244
373
  additional_payment_subject_props: nil,
245
374
  agent_type: nil,
375
+ country_of_origin_code: nil,
376
+ customs_declaration_number: nil,
377
+ excise: nil,
378
+ mark_code_info: nil,
379
+ mark_mode: nil,
380
+ mark_quantity: nil,
381
+ measure: nil,
382
+ payment_mode: nil,
383
+ payment_subject: nil,
384
+ payment_subject_industry_details: nil,
385
+ planned_status: nil,
386
+ product_code: nil,
246
387
  supplier: nil
247
388
  )
248
389
  end
@@ -250,8 +391,25 @@ module Yoomoney
250
391
  sig do
251
392
  override.returns(
252
393
  {
394
+ amount: Yoomoney::MonetaryAmount,
395
+ description: String,
396
+ quantity: Float,
397
+ vat_code: Integer,
253
398
  additional_payment_subject_props: String,
254
399
  agent_type: Yoomoney::ReceiptItemAgentType::OrSymbol,
400
+ country_of_origin_code: String,
401
+ customs_declaration_number: String,
402
+ excise: String,
403
+ mark_code_info: Yoomoney::MarkCodeInfo,
404
+ mark_mode: String,
405
+ mark_quantity: Yoomoney::MarkQuantity,
406
+ measure: Yoomoney::ReceiptItemMeasure::OrSymbol,
407
+ payment_mode: Yoomoney::ReceiptItemPaymentMode::OrSymbol,
408
+ payment_subject: Yoomoney::ReceiptItemPaymentSubject::OrSymbol,
409
+ payment_subject_industry_details:
410
+ T::Array[Yoomoney::IndustryDetails],
411
+ planned_status: Integer,
412
+ product_code: String,
255
413
  supplier: Yoomoney::ReceiptCreateParams::Item::Supplier
256
414
  }
257
415
  )