Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ShippingTotal.php
Go to the documentation of this file.
1 <?php
7 
10 
12 {
16  public function getBaseShippingAmount()
17  {
18  return $this->_getData(self::BASE_SHIPPING_AMOUNT);
19  }
20 
24  public function getBaseShippingCanceled()
25  {
26  return $this->_getData(self::BASE_SHIPPING_CANCELED);
27  }
28 
33  {
34  return $this->_getData(self::BASE_SHIPPING_DISCOUNT_AMOUNT);
35  }
36 
41  {
42  return $this->_getData(self::BASE_SHIPPING_DISCOUNT_TAX_COMPENSATION_AMNT);
43  }
44 
48  public function getBaseShippingInclTax()
49  {
50  return $this->_getData(self::BASE_SHIPPING_INCL_TAX);
51  }
52 
56  public function getBaseShippingInvoiced()
57  {
58  return $this->_getData(self::BASE_SHIPPING_INVOICED);
59  }
60 
64  public function getBaseShippingRefunded()
65  {
66  return $this->_getData(self::BASE_SHIPPING_REFUNDED);
67  }
68 
72  public function getBaseShippingTaxAmount()
73  {
74  return $this->_getData(self::BASE_SHIPPING_TAX_AMOUNT);
75  }
76 
80  public function getBaseShippingTaxRefunded()
81  {
82  return $this->_getData(self::BASE_SHIPPING_TAX_REFUNDED);
83  }
84 
88  public function getShippingAmount()
89  {
90  return $this->_getData(self::SHIPPING_AMOUNT);
91  }
92 
96  public function getShippingCanceled()
97  {
98  return $this->_getData(self::SHIPPING_CANCELED);
99  }
100 
104  public function getShippingDiscountAmount()
105  {
106  return $this->_getData(self::SHIPPING_DISCOUNT_AMOUNT);
107  }
108 
113  {
114  return $this->_getData(self::SHIPPING_DISCOUNT_TAX_COMPENSATION_AMOUNT);
115  }
116 
120  public function getShippingInclTax()
121  {
122  return $this->_getData(self::SHIPPING_INCL_TAX);
123  }
124 
128  public function getShippingInvoiced()
129  {
130  return $this->_getData(self::SHIPPING_INVOICED);
131  }
132 
136  public function getShippingRefunded()
137  {
138  return $this->_getData(self::SHIPPING_REFUNDED);
139  }
140 
144  public function getShippingTaxAmount()
145  {
146  return $this->_getData(self::SHIPPING_TAX_AMOUNT);
147  }
148 
152  public function getShippingTaxRefunded()
153  {
154  return $this->_getData(self::SHIPPING_TAX_REFUNDED);
155  }
156 
161  {
162  return $this->setData(self::BASE_SHIPPING_AMOUNT, $amount);
163  }
164 
168  public function setBaseShippingCanceled($baseShippingCanceled)
169  {
170  return $this->setData(self::BASE_SHIPPING_CANCELED, $baseShippingCanceled);
171  }
172 
177  {
178  return $this->setData(self::BASE_SHIPPING_DISCOUNT_AMOUNT, $amount);
179  }
180 
185  {
186  return $this->setData(self::BASE_SHIPPING_DISCOUNT_TAX_COMPENSATION_AMNT, $amnt);
187  }
188 
193  {
194  return $this->setData(self::BASE_SHIPPING_INCL_TAX, $amount);
195  }
196 
200  public function setBaseShippingInvoiced($baseShippingInvoiced)
201  {
202  return $this->setData(self::BASE_SHIPPING_INVOICED, $baseShippingInvoiced);
203  }
204 
208  public function setBaseShippingRefunded($baseShippingRefunded)
209  {
210  return $this->setData(self::BASE_SHIPPING_REFUNDED, $baseShippingRefunded);
211  }
212 
217  {
218  return $this->setData(self::BASE_SHIPPING_TAX_AMOUNT, $amount);
219  }
220 
224  public function setBaseShippingTaxRefunded($baseShippingTaxRefunded)
225  {
226  return $this->setData(self::BASE_SHIPPING_TAX_REFUNDED, $baseShippingTaxRefunded);
227  }
228 
232  public function setShippingAmount($amount)
233  {
234  return $this->setData(self::SHIPPING_AMOUNT, $amount);
235  }
236 
240  public function setShippingCanceled($shippingCanceled)
241  {
242  return $this->setData(self::SHIPPING_CANCELED, $shippingCanceled);
243  }
244 
249  {
250  return $this->setData(self::SHIPPING_DISCOUNT_AMOUNT, $amount);
251  }
252 
257  {
258  return $this->setData(self::SHIPPING_DISCOUNT_TAX_COMPENSATION_AMOUNT, $amount);
259  }
260 
264  public function setShippingInclTax($amount)
265  {
266  return $this->setData(self::SHIPPING_INCL_TAX, $amount);
267  }
268 
272  public function setShippingInvoiced($shippingInvoiced)
273  {
274  return $this->setData(self::SHIPPING_INVOICED, $shippingInvoiced);
275  }
276 
280  public function setShippingRefunded($shippingRefunded)
281  {
282  return $this->setData(self::SHIPPING_REFUNDED, $shippingRefunded);
283  }
284 
288  public function setShippingTaxAmount($amount)
289  {
290  return $this->setData(self::SHIPPING_TAX_AMOUNT, $amount);
291  }
292 
296  public function setShippingTaxRefunded($shippingTaxRefunded)
297  {
298  return $this->setData(self::SHIPPING_TAX_REFUNDED, $shippingTaxRefunded);
299  }
300 
304  public function getExtensionAttributes()
305  {
306  return $this->_getExtensionAttributes();
307  }
308 
312  public function setExtensionAttributes(
313  \Magento\Sales\Api\Data\TotalExtensionInterface $extensionAttributes
314  ) {
315  return $this->_setExtensionAttributes($extensionAttributes);
316  }
317 }
setBaseShippingCanceled($baseShippingCanceled)
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
setBaseShippingInvoiced($baseShippingInvoiced)
$amount
Definition: order.php:14
setExtensionAttributes(\Magento\Sales\Api\Data\TotalExtensionInterface $extensionAttributes)
setBaseShippingRefunded($baseShippingRefunded)
setBaseShippingTaxRefunded($baseShippingTaxRefunded)
setShippingTaxRefunded($shippingTaxRefunded)