Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ItemsToRefund.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
11 
13 {
17  private $sku;
18 
22  private $qty;
23 
27  private $processedQty;
28 
34  public function __construct(string $sku, float $qty, float $processedQty)
35  {
36  $this->sku = $sku;
37  $this->qty = $qty;
38  $this->processedQty = $processedQty;
39  }
40 
44  public function getSku(): string
45  {
46  return $this->sku;
47  }
48 
52  public function getQuantity(): float
53  {
54  return $this->qty;
55  }
56 
60  public function getProcessedQuantity(): float
61  {
62  return $this->processedQty;
63  }
64 }
__construct(string $sku, float $qty, float $processedQty)