Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
order.php
1<?php
2namespace Bitrix\Sale\Archive;
3
6
7class 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}
applyDiscount(array $data)
Definition order.php:19
setDiscountData($resultData=array())
Definition order.php:37