. */ namespace SP\Services\CustomField; /** * Class CustomFieldItem * * @package SP\Services\CustomField */ final class CustomFieldItem implements \JsonSerializable { public $required = false; public $showInList = false; public $help; public $definitionId = 0; public $definitionName; public $typeId = 0; public $typeName; public $typeText; public $moduleId = 0; public $formId; public $value; public $isEncrypted; public $isValueEncrypted; /** * @inheritDoc */ public function jsonSerialize() { return [ 'required' => $this->required, 'showInList' => $this->showInList, 'help' => $this->help, 'typeId' => $this->typeId, 'typeName' => $this->typeName, 'typeText' => $this->typeText, 'moduleId' => $this->moduleId, 'value' => $this->value, 'isEncrypted' => $this->isEncrypted, 'isValueEncrypted' => $this->isValueEncrypted ]; } }