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
2 
8 
10 
15 {
19  private $orderItemId;
20 
24  private $qty;
25 
29  private $extensionAttributes;
30 
34  public function getOrderItemId()
35  {
36  return $this->orderItemId;
37  }
38 
42  public function setOrderItemId($orderItemId)
43  {
44  $this->orderItemId = $orderItemId;
45  }
46 
50  public function getQty()
51  {
52  return $this->qty;
53  }
54 
58  public function setQty($qty)
59  {
60  $this->qty = $qty;
61  }
62 
68  public function getExtensionAttributes()
69  {
70  return $this->extensionAttributes;
71  }
72 
79  public function setExtensionAttributes(
80  \Magento\Sales\Api\Data\InvoiceItemCreationExtensionInterface $extensionAttributes
81  ) {
82  $this->extensionAttributes = $extensionAttributes;
83  return $this;
84  }
85 }
$extensionAttributes
Definition: payment.php:22
setExtensionAttributes(\Magento\Sales\Api\Data\InvoiceItemCreationExtensionInterface $extensionAttributes)