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 
33  public function getOrderItemId()
34  {
35  return $this->orderItemId;
36  }
37 
41  public function setOrderItemId($orderItemId)
42  {
43  $this->orderItemId = $orderItemId;
44  return $this;
45  }
46 
50  public function getQty()
51  {
52  return $this->qty;
53  }
54 
58  public function setQty($qty)
59  {
60  $this->qty = $qty;
61  return $this;
62  }
63 
69  public function getExtensionAttributes()
70  {
71  return $this->extensionAttributes;
72  }
73 
80  public function setExtensionAttributes(
81  \Magento\Sales\Api\Data\CreditmemoItemCreationExtensionInterface $extensionAttributes
82  ) {
83  $this->extensionAttributes = $extensionAttributes;
84  return $this;
85  }
86 }
$extensionAttributes
Definition: payment.php:22
setExtensionAttributes(\Magento\Sales\Api\Data\CreditmemoItemCreationExtensionInterface $extensionAttributes)