Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
roundingrule.php
1
<?php
2
3
4
namespace
Bitrix\Catalog\RestView
;
5
6
7
use
Bitrix\Rest\Integration\View\Attributes
;
8
use
Bitrix\Rest\Integration\View\DataType
;
9
use
Bitrix\Rest\Integration\View\Base
;
10
11
final
class
RoundingRule
extends
Base
12
{
13
14
public
function
getFields
()
15
{
16
return
[
17
'ID'
=>[
18
'TYPE'
=>DataType::TYPE_INT,
19
'ATTRIBUTES'
=>[
20
Attributes::READONLY
21
]
22
],
23
'CATALOG_GROUP_ID'
=>[
24
'TYPE'
=>DataType::TYPE_INT,
25
'ATTRIBUTES'
=>[
26
Attributes::REQUIRED
27
]
28
],
29
'PRICE'
=>[
30
'TYPE'
=>DataType::TYPE_FLOAT,
31
'ATTRIBUTES'
=>[
32
Attributes::REQUIRED
33
]
34
],
35
'ROUND_TYPE'
=>[
36
'TYPE'
=>DataType::TYPE_INT,
37
'ATTRIBUTES'
=>[
38
Attributes::REQUIRED
39
]
40
],
41
'ROUND_PRECISION'
=>[
42
'TYPE'
=>DataType::TYPE_FLOAT,
43
'ATTRIBUTES'
=>[
44
Attributes::REQUIRED
45
]
46
],
47
'CREATED_BY'
=>[
48
'TYPE'
=>DataType::TYPE_INT,
49
'ATTRIBUTES'
=>[
50
Attributes::READONLY
51
]
52
],
53
'DATE_CREATE'
=>[
54
'TYPE'
=>DataType::TYPE_DATETIME,
55
'ATTRIBUTES'
=>[
56
Attributes::READONLY
57
]
58
],
59
'MODIFIED_BY'
=>[
60
'TYPE'
=>DataType::TYPE_INT,
61
'ATTRIBUTES'
=>[
62
Attributes::READONLY
63
]
64
],
65
'DATE_MODIFY'
=>[
66
'TYPE'
=>DataType::TYPE_DATETIME,
67
'ATTRIBUTES'
=>[
68
Attributes::READONLY
69
]
70
]
71
];
72
}
73
}
Bitrix\Catalog\Controller\RoundingRule
Definition
roundingrule.php:15
Bitrix\Catalog\Product\Store\DistributionStrategy\Base
Definition
base.php:21
Bitrix\Catalog\RestView\RoundingRule\getFields
getFields()
Definition
roundingrule.php:14
Bitrix\Rest\Integration\View\Attributes
Definition
attributes.php:8
Bitrix\Rest\Integration\View\Base
Definition
base.php:16
Bitrix\Rest\Integration\View\DataType
Definition
datatype.php:11
Bitrix\Catalog\RestView
Definition
catalog.php:4
modules
catalog
lib
restview
roundingrule.php
Создано системой
1.10.0