Dumplie\Inventory\Application\Query\Result\Product::__construct PHP Method

__construct() public method

public __construct ( string $sku, float $price, string $currency, boolean $isAvailable, Metadata $metadata )
$sku string
$price float
$currency string
$isAvailable boolean
$metadata Dumplie\Metadata\Metadata
    public function __construct(string $sku, float $price, string $currency, bool $isAvailable, Metadata $metadata)
    {
        $this->sku = $sku;
        $this->price = $price;
        $this->currency = $currency;
        $this->isAvailable = $isAvailable;
        $this->metadata = $metadata;
    }