Skip to content

Commit d156df6

Browse files
committed
Merge branch 'ACP2E-2483' of https://github.com/magento-l3/magento2ce into PR-12-19-2023
2 parents 2057daf + 0d3a86a commit d156df6

File tree

21 files changed

+1781
-98
lines changed

21 files changed

+1781
-98
lines changed
Lines changed: 224 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,224 @@
1+
<?php
2+
/************************************************************************
3+
*
4+
* Copyright 2023 Adobe
5+
* All Rights Reserved.
6+
*
7+
* NOTICE: All information contained herein is, and remains
8+
* the property of Adobe and its suppliers, if any. The intellectual
9+
* and technical concepts contained herein are proprietary to Adobe
10+
* and its suppliers and are protected by all applicable intellectual
11+
* property laws, including trade secret and copyright laws.
12+
* Dissemination of this information or reproduction of this material
13+
* is strictly forbidden unless prior written permission is obtained
14+
* from Adobe.
15+
* ************************************************************************
16+
*/
17+
declare(strict_types=1);
18+
19+
namespace Magento\Sales\Model\Data\Order;
20+
21+
class Tax extends \Magento\Framework\Model\AbstractExtensibleModel implements
22+
\Magento\Tax\Api\Data\OrderTaxInterface
23+
{
24+
/**
25+
* @inheritDoc
26+
*/
27+
protected function _construct()
28+
{
29+
$this->_init(\Magento\Sales\Model\ResourceModel\Order\Tax::class);
30+
}
31+
32+
/**
33+
* @inheritDoc
34+
*/
35+
public function getTaxId()
36+
{
37+
return $this->getData(self::TAX_ID);
38+
}
39+
40+
/**
41+
* @inheritDoc
42+
*/
43+
public function setTaxId($taxId)
44+
{
45+
return $this->setData(self::TAX_ID, $taxId);
46+
}
47+
48+
/**
49+
* @inheritDoc
50+
*/
51+
public function getOrderId()
52+
{
53+
return $this->getData(self::ORDER_ID);
54+
}
55+
56+
/**
57+
* @inheritDoc
58+
*/
59+
public function setOrderId($orderId)
60+
{
61+
return $this->setData(self::ORDER_ID, $orderId);
62+
}
63+
64+
/**
65+
* @inheritDoc
66+
*/
67+
public function getCode()
68+
{
69+
return $this->getData(self::CODE);
70+
}
71+
72+
/**
73+
* @inheritDoc
74+
*/
75+
public function setCode($code)
76+
{
77+
return $this->setData(self::CODE, $code);
78+
}
79+
80+
/**
81+
* @inheritDoc
82+
*/
83+
public function getTitle()
84+
{
85+
return $this->getData(self::TITLE);
86+
}
87+
88+
/**
89+
* @inheritDoc
90+
*/
91+
public function setTitle($title)
92+
{
93+
return $this->setData(self::TITLE, $title);
94+
}
95+
96+
/**
97+
* @inheritDoc
98+
*/
99+
public function getPercent()
100+
{
101+
return $this->getData(self::PERCENT);
102+
}
103+
104+
/**
105+
* @inheritDoc
106+
*/
107+
public function setPercent($percent)
108+
{
109+
return $this->setData(self::PERCENT, $percent);
110+
}
111+
112+
/**
113+
* @inheritDoc
114+
*/
115+
public function getAmount()
116+
{
117+
return $this->getData(self::AMOUNT);
118+
}
119+
120+
/**
121+
* @inheritDoc
122+
*/
123+
public function setAmount($amount)
124+
{
125+
return $this->setData(self::AMOUNT, $amount);
126+
}
127+
128+
/**
129+
* @inheritDoc
130+
*/
131+
public function getBaseAmount()
132+
{
133+
return $this->getData(self::BASE_AMOUNT);
134+
}
135+
136+
/**
137+
* @inheritDoc
138+
*/
139+
public function setBaseAmount($baseAmount)
140+
{
141+
return $this->setData(self::BASE_AMOUNT, $baseAmount);
142+
}
143+
144+
/**
145+
* @inheritDoc
146+
*/
147+
public function getBaseRealAmount()
148+
{
149+
return $this->getData(self::BASE_REAL_AMOUNT);
150+
}
151+
152+
/**
153+
* @inheritDoc
154+
*/
155+
public function setBaseRealAmount($baseRealAmount)
156+
{
157+
return $this->setData(self::BASE_REAL_AMOUNT, $baseRealAmount);
158+
}
159+
160+
/**
161+
* @inheritDoc
162+
*/
163+
public function getPriority()
164+
{
165+
return $this->getData(self::PRIORITY);
166+
}
167+
168+
/**
169+
* @inheritDoc
170+
*/
171+
public function setPriority($priority)
172+
{
173+
return $this->setData(self::PRIORITY, $priority);
174+
}
175+
176+
/**
177+
* @inheritDoc
178+
*/
179+
public function getPosition()
180+
{
181+
return $this->getData(self::POSITION);
182+
}
183+
184+
/**
185+
* @inheritDoc
186+
*/
187+
public function setPosition($position)
188+
{
189+
return $this->setData(self::POSITION, $position);
190+
}
191+
192+
/**
193+
* @inheritDoc
194+
*/
195+
public function getProcess()
196+
{
197+
return $this->getData(self::PROCESS);
198+
}
199+
200+
/**
201+
* @inheritDoc
202+
*/
203+
public function setProcess($process)
204+
{
205+
return $this->setData(self::PROCESS, $process);
206+
}
207+
208+
/**
209+
* @inheritDoc
210+
*/
211+
public function getExtensionAttributes()
212+
{
213+
return $this->_getExtensionAttributes();
214+
}
215+
216+
/**
217+
* @inheritDoc
218+
*/
219+
public function setExtensionAttributes(
220+
\Magento\Tax\Api\Data\OrderTaxExtensionInterface $extensionAttributes
221+
) {
222+
return $this->_setExtensionAttributes($extensionAttributes);
223+
}
224+
}

0 commit comments

Comments
 (0)