* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Cart\QueryResult\CartForOrderCreation; /** * Holds product customized data of customization field */ class CustomizationFieldData { /** * @var int */ private $type; /** * @var string */ private $name; /** * @var string */ private $value; public function __construct( int $type, string $name, string $value ) { $this->type = $type; $this->name = $name; $this->value = $value; } /** * @return int */ public function getType(): int { return $this->type; } /** * @return string */ public function getName(): string { return $this->name; } /** * @return string */ public function getValue(): string { return $this->value; } }