Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ItemCreation.php
Go to the documentation of this file.
1 <?php
7 
9 
14 {
18  private $orderItemId;
19 
23  private $qty;
24 
28  private $extensionAttributes;
29 
30  //@codeCoverageIgnoreStart
31 
35  public function getOrderItemId()
36  {
37  return $this->orderItemId;
38  }
39 
43  public function setOrderItemId($orderItemId)
44  {
45  $this->orderItemId = $orderItemId;
46  return $this;
47  }
48 
52  public function getQty()
53  {
54  return $this->qty;
55  }
56 
60  public function setQty($qty)
61  {
62  $this->qty = $qty;
63  return $this;
64  }
65 
71  public function getExtensionAttributes()
72  {
73  return $this->extensionAttributes;
74  }
75 
82  public function setExtensionAttributes(
83  \Magento\Sales\Api\Data\ShipmentItemCreationExtensionInterface $extensionAttributes
84  ) {
85  $this->extensionAttributes = $extensionAttributes;
86  return $this;
87  }
88 
89  //@codeCoverageIgnoreEnd
90 }
setExtensionAttributes(\Magento\Sales\Api\Data\ShipmentItemCreationExtensionInterface $extensionAttributes)
$extensionAttributes
Definition: payment.php:22