Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SourceDeductedOrderItemsResult.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
11 
16 {
20  private $sourceCode;
21 
25  private $items;
26 
31  public function __construct(string $sourceCode, array $items)
32  {
33  $this->sourceCode = $sourceCode;
34  $this->items = $items;
35  }
36 
40  public function getSourceCode(): string
41  {
42  return $this->sourceCode;
43  }
44 
48  public function getItems(): array
49  {
50  return $this->items;
51  }
52 }
$sourceCode
Definition: inventory.phtml:11
$items