1
0
mirror of synced 2025-01-08 10:27:09 +03:00
DeliveryModuleBundle/Model/ResponseAutocompleteItem.php
2020-02-19 19:00:09 +03:00

43 lines
872 B
PHP

<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
use JMS\Serializer\Annotation as Serializer;
class ResponseAutocompleteItem
{
/**
* @var string
*
* @Serializer\Groups({"response"})
* @Serializer\SerializedName("value")
* @Serializer\Type("string")
*/
public $value;
/**
* @var string
*
* @Serializer\Groups({"response"})
* @Serializer\SerializedName("label")
* @Serializer\Type("string")
*/
public $label;
/**
* @var string
*
* @Serializer\Groups({"response"})
* @Serializer\SerializedName("description")
* @Serializer\Type("string")
*/
public $description;
public function __construct($value, $label, $description = null)
{
$this->value = $value;
$this->label = $label;
$this->description = $description;
}
}