Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
storeproduct.php
1<?php
2
4
8
9final class StoreProduct extends Base
10{
11
12 public function getFields()
13 {
14 return [
15 'ID'=>[
16 'TYPE'=>DataType::TYPE_INT,
17 'ATTRIBUTES'=>[
18 Attributes::READONLY
19 ]
20 ],
21 'PRODUCT_ID'=>[
22 'TYPE'=>DataType::TYPE_INT,
23 'ATTRIBUTES'=>[
24 Attributes::READONLY
25 ]
26 ],
27 'AMOUNT'=>[
28 'TYPE'=>DataType::TYPE_FLOAT,
29 'ATTRIBUTES'=>[
30 Attributes::READONLY
31 ]
32 ],
33 'STORE_ID'=>[
34 'TYPE'=>DataType::TYPE_INT,
35 'ATTRIBUTES'=>[
36 Attributes::READONLY
37 ]
38 ],
39 'QUANTITY_RESERVED'=>[
40 'TYPE'=>DataType::TYPE_FLOAT,
41 'ATTRIBUTES'=>[
42 Attributes::READONLY
43 ]
44 ],
45 ];
46 }
47}