Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ReservationBuilderInterface.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
12 
20 {
25  public function setStockId(int $stockId): self;
26 
31  public function setSku(string $sku): self;
32 
37  public function setQuantity(float $quantity): self;
38 
43  public function setMetadata(string $metadata = null): self;
44 
49  public function build(): ReservationInterface;
50 }