1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?php
namespace Commercetools\Core\Model\ProductSelection;
use Commercetools\Core\Model\Common\JsonObject;
use Commercetools\Core\Model\Product\ProductReference;
/**
* @package Commercetools\Core\Model\ProductSelection
* @link https://docs.commercetools.com/api/projects/product-selections#assignedproductreference
* @method ProductReference getProduct()
* @method AssignedProductReference setProduct(ProductReference $product = null)
*/
class AssignedProductReference extends JsonObject
{
public function fieldDefinitions()
{
return [
'product' => [static::TYPE => ProductReference::class],
];
}
}