Set the value of Id / id
@param $value int
@return Contact
544603
public function setId(int $value) : Contact
    {

        if ($this->data['id'] !== $value) {
            $this->data['id'] = $value;
            $this->setModified('id');
        }

        return $this;
    }
1259570
public function removeDealerContactVersion($value)
    {
        $targetArray = array();
        foreach ($this->getDealerContactVersions() as $element) {
            if ($element != $value) {
                $targetArray []= $element;
            }
        }
        $this->setDealerContactVersions($targetArray);

        return $this;
    }
590340
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[DealerContactVersionTableMap::ID] = true;
        }

        if ($this->aDealerContact !== null && $this->aDealerContact->getId() !== $v) {
            $this->aDealerContact = null;
        }


        return $this;
    }
1193405
public function setBirthdateM($value)
    {
        if ($value === null) {
            $this->parameters['birthdateM'] = null;
        } else {
            validators\Number::validate($value, 1, 12, 'Invalid birthdateM');
            $this->parameters['birthdateM'] = min(12, max(1, (int)$value));
        }
        return $this;
    }
250845
public function setPostcode(?string $value) : Contact
    {

        if ($this->data['postcode'] !== $value) {
            $this->data['postcode'] = $value;
            $this->setModified('postcode');
        }

        return $this;
    }
702439
public function setEmail(string $value) : User
    {

        if ($this->data['email'] !== $value) {
            $this->data['email'] = $value;
            $this->setModified('email');
        }

        return $this;
    }
462162
public function setBirthdateY($value)
    {
        if ($value === null) {
            $this->parameters['birthdateY'] = null;
        } else {
            $datetime = new \DateTime('now');
            $max = (int)$datetime->format('Y');
            validators\Number::validate($value, 1, $max, 'Invalid birthdateY');
            $this->parameters['birthdateY'] = min($max, max(1, (int)$value));
        }
        return $this;
    }
1158647
public function id($value = null)
	{
		$this->options = array_merge($this->options,
			['id' => ($value == null ? $this->name : $value)]
		);

		return $this;
	}
344859
public function setMobile(?string $value) : Contact
    {

        if ($this->data['mobile'] !== $value) {
            $this->data['mobile'] = $value;
            $this->setModified('mobile');
        }

        return $this;
    }
440175
public function removeDealerContactInfoVersion($value)
    {
        $targetArray = array();
        foreach ($this->getDealerContactInfoVersions() as $element) {
            if ($element != $value) {
                $targetArray []= $element;
            }
        }
        $this->setDealerContactInfoVersions($targetArray);

        return $this;
    }
258133
public function setPaymentMethod($value)
    {
        if (!$this->_isNumericArray($value)) {
            $value = array ($value);
        }
        $this->_fields['PaymentMethod']['FieldValue'] = $value;
        return $this;
    }
209042
public function set($id, \Closure $value)
    {
        $this->definitions[$id] = function ($container) use ($value) {
            static $object;

            if (is_null($object)) {
                $object = $value($container);
            }

            return $object;
        };
    }
331351
public function setHidden(?int $value) : Setting
    {

        if ($this->data['hidden'] !== $value) {
            $this->data['hidden'] = $value;
            $this->setModified('hidden');
        }

        return $this;
    }
821277
public function setValue($value)
    {
        NumericValidator::validate($value, "Value");
        $value = Formatter::formatToPrice($value, $this->getCurrency());
        $this->value = $value;
        return $this;
    }
86101
public function setValue($value)
    {
        parent::setValue($value);
        $this->setChecked($this->form->getFieldValue($this->name) == $this->getValue());
        return $this;
    }
474857
public function addDealerContactId($value)
    {
        $currentArray = $this->getDealerContactIds();
        $currentArray []= $value;
        $this->setDealerContactIds($currentArray);

        return $this;
    }
868640
public function setId(int $id): Phone
    {
        Assert::greaterThan($id, 0);

        $this->id = $id;

        return $this;
    }