Skip to content

Commit edaf120

Browse files
committed
ACP2E-1650:Create Shipment API
- corrected static
1 parent 912047e commit edaf120

File tree

1 file changed

+14
-12
lines changed
  • app/code/Magento/Sales/Model/Order/Shipment

1 file changed

+14
-12
lines changed

app/code/Magento/Sales/Model/Order/Shipment/Item.php

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -281,87 +281,87 @@ public function getWeight()
281281
}
282282

283283
/**
284-
* {@inheritdoc}
284+
* @inheritdoc
285285
*/
286286
public function setParentId($id)
287287
{
288288
return $this->setData(ShipmentItemInterface::PARENT_ID, $id);
289289
}
290290

291291
/**
292-
* {@inheritdoc}
292+
* @inheritdoc
293293
*/
294294
public function setRowTotal($amount)
295295
{
296296
return $this->setData(ShipmentItemInterface::ROW_TOTAL, $amount);
297297
}
298298

299299
/**
300-
* {@inheritdoc}
300+
* @inheritdoc
301301
*/
302302
public function setPrice($price)
303303
{
304304
return $this->setData(ShipmentItemInterface::PRICE, $price);
305305
}
306306

307307
/**
308-
* {@inheritdoc}
308+
* @inheritdoc
309309
*/
310310
public function setWeight($weight)
311311
{
312312
return $this->setData(ShipmentItemInterface::WEIGHT, $weight);
313313
}
314314

315315
/**
316-
* {@inheritdoc}
316+
* @inheritdoc
317317
*/
318318
public function setProductId($id)
319319
{
320320
return $this->setData(ShipmentItemInterface::PRODUCT_ID, $id);
321321
}
322322

323323
/**
324-
* {@inheritdoc}
324+
* @inheritdoc
325325
*/
326326
public function setOrderItemId($id)
327327
{
328328
return $this->setData(ShipmentItemInterface::ORDER_ITEM_ID, $id);
329329
}
330330

331331
/**
332-
* {@inheritdoc}
332+
* @inheritdoc
333333
*/
334334
public function setAdditionalData($additionalData)
335335
{
336336
return $this->setData(ShipmentItemInterface::ADDITIONAL_DATA, $additionalData);
337337
}
338338

339339
/**
340-
* {@inheritdoc}
340+
* @inheritdoc
341341
*/
342342
public function setDescription($description)
343343
{
344344
return $this->setData(ShipmentItemInterface::DESCRIPTION, $description);
345345
}
346346

347347
/**
348-
* {@inheritdoc}
348+
* @inheritdoc
349349
*/
350350
public function setName($name)
351351
{
352352
return $this->setData(ShipmentItemInterface::NAME, $name);
353353
}
354354

355355
/**
356-
* {@inheritdoc}
356+
* @inheritdoc
357357
*/
358358
public function setSku($sku)
359359
{
360360
return $this->setData(ShipmentItemInterface::SKU, $sku);
361361
}
362362

363363
/**
364-
* {@inheritdoc}
364+
* @inheritdoc
365365
*
366366
* @return \Magento\Sales\Api\Data\ShipmentItemExtensionInterface|null
367367
*/
@@ -371,7 +371,7 @@ public function getExtensionAttributes()
371371
}
372372

373373
/**
374-
* {@inheritdoc}
374+
* @inheritdoc
375375
*
376376
* @param \Magento\Sales\Api\Data\ShipmentItemExtensionInterface $extensionAttributes
377377
* @return $this
@@ -383,6 +383,8 @@ public function setExtensionAttributes(\Magento\Sales\Api\Data\ShipmentItemExten
383383
//@codeCoverageIgnoreEnd
384384

385385
/**
386+
* Loads child items for a master shipment item
387+
*
386388
* @return void
387389
*/
388390
private function loadChildren(): void

0 commit comments

Comments
 (0)