for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the slince/shopify-api-php
*
* (c) Slince <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Slince\Shopify\Manager\Inventory;
use Slince\Shopify\Common\Model\Model;
use Slince\Shopify\Common\Model\AdminGraphqlApiId;
class InventoryItem extends Model
{
use AdminGraphqlApiId;
/**
* @var string
protected $sku;
* @var float
protected $cost;
* @var boolean
protected $tracked;
* @var \DateTimeInterface
protected $createdAt;
protected $updatedAt;
* @return string
public function getSku()
return $this->sku;
}
* @param string $sku
* @return InventoryItem
public function setSku($sku)
$this->sku = $sku;
return $this;
* @return float
public function getCost()
return $this->cost;
* @param float $cost
public function setCost($cost)
$this->cost = $cost;
* @return bool
public function isTracked()
return $this->tracked;
* @param bool $tracked
public function setTracked($tracked)
$this->tracked = $tracked;
* @return \DateTimeInterface
public function getCreatedAt()
return $this->createdAt;
* @param \DateTimeInterface $createdAt
public function setCreatedAt($createdAt)
$this->createdAt = $createdAt;
public function getUpdatedAt()
return $this->updatedAt;
* @param \DateTimeInterface $updatedAt
public function setUpdatedAt($updatedAt)
$this->updatedAt = $updatedAt;