Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
order.php
1
<?php
2
namespace
Bitrix\Sale\Archive
;
3
4
use
Bitrix\Sale
,
5
Bitrix\Main
;
6
7
class
Order
extends
Sale\Order
8
{
9
protected
$discountResult
= array();
10
protected
$dateArchived
=
null
;
11
protected
$archiveVersion
=
null
;
12
19
public
function
applyDiscount
(array $data)
20
{
21
return
new
Sale\Result
();
22
}
23
27
public
static
function
getRegistryType
()
28
{
29
return
Sale\Registry::REGISTRY_TYPE_ARCHIVE_ORDER;
30
}
31
37
public
function
setDiscountData
($resultData = array())
38
{
39
$this->discountResult = $resultData;
40
}
41
45
public
function
getDiscountData
()
46
{
47
return
$this->discountResult;
48
}
49
53
public
function
getDateArchived
()
54
{
55
return
$this->dateArchived;
56
}
57
63
public
function
setDateArchived
($date)
64
{
65
$this->dateArchived = $date;
66
}
67
71
public
function
getVersion
()
72
{
73
return
$this->archiveVersion;
74
}
75
81
public
function
setVersion
($version)
82
{
83
$this->archiveVersion = (int)$version;
84
}
85
}
Bitrix\Main\DB\Result
Definition
result.php:19
Bitrix\Sale\Archive\Order
Definition
order.php:8
Bitrix\Sale\Archive\Order\getDateArchived
getDateArchived()
Definition
order.php:53
Bitrix\Sale\Archive\Order\setDateArchived
setDateArchived($date)
Definition
order.php:63
Bitrix\Sale\Archive\Order\applyDiscount
applyDiscount(array $data)
Definition
order.php:19
Bitrix\Sale\Archive\Order\setDiscountData
setDiscountData($resultData=array())
Definition
order.php:37
Bitrix\Sale\Archive\Order\getDiscountData
getDiscountData()
Definition
order.php:45
Bitrix\Sale\Archive\Order\$dateArchived
$dateArchived
Definition
order.php:10
Bitrix\Sale\Archive\Order\setVersion
setVersion($version)
Definition
order.php:81
Bitrix\Sale\Archive\Order\$archiveVersion
$archiveVersion
Definition
order.php:11
Bitrix\Sale\Archive\Order\getRegistryType
static getRegistryType()
Definition
order.php:27
Bitrix\Sale\Archive\Order\$discountResult
$discountResult
Definition
order.php:9
Bitrix\Sale\Archive\Order\getVersion
getVersion()
Definition
order.php:71
Bitrix\Sale\Helpers\Order
Definition
order.php:10
Bitrix\Main
Bitrix\Sale\Archive
Definition
manager.php:2
Bitrix\Sale
modules
sale
lib
archive
order.php
Создано системой
1.10.0