Add a new element to 'PriceLists'

@param \AgentSIB\Diadoc\Api\Proto\Events\PriceListAttachment $value
540254
public function addPriceLists(\AgentSIB\Diadoc\Api\Proto\Events\PriceListAttachment $value)
    {
        if ($this->PriceLists === null) {
            $this->PriceLists = new \Protobuf\MessageCollection();
        }

        $this->PriceLists->add($value);
    }
778099
public function addCustomDataPatches(\AgentSIB\Diadoc\Api\Proto\Events\CustomDataPatch $value)
    {
        if ($this->CustomDataPatches === null) {
            $this->CustomDataPatches = new \Protobuf\MessageCollection();
        }

        $this->CustomDataPatches->add($value);
    }
356107
public function addCustomsDeclarations(\AgentSIB\Diadoc\Api\Proto\Invoicing\CustomsDeclaration $value)
    {
        if ($this->CustomsDeclarations === null) {
            $this->CustomsDeclarations = new \Protobuf\MessageCollection();
        }

        $this->CustomsDeclarations->add($value);
    }
498457
public function addDealerBrandId($value)
    {
        $currentArray = $this->getDealerBrandIds();
        $currentArray []= $value;
        $this->setDealerBrandIds($currentArray);

        return $this;
    }
884526
public function addCustomsDeclarationNumbers($value)
    {
        if ($this->CustomsDeclarationNumbers === null) {
            $this->CustomsDeclarationNumbers = new \Protobuf\ScalarCollection();
        }

        $this->CustomsDeclarationNumbers->add($value);
    }
733137
public function setElementValue($element, $value)
    {
        $node = $this->dom->createTextNode($value);
        $element->appendChild($node);
    }
362751
public function setValue(string $value = null) : Element
    {
        $this->value = $value;
        if (isset($this->model)) {
            $this->model->{$this->attributes['name']} = $value;
        }
        return $this;
    }
834355
function add($value) {
        if(!\in_array($value, $this->data, true)) {
            $this->data[] = $value;
        }
        
        return $this;
    }
564075
public function addReceipts(\AgentSIB\Diadoc\Api\Proto\Events\ReceiptAttachment $value)
    {
        if ($this->Receipts === null) {
            $this->Receipts = new \Protobuf\MessageCollection();
        }

        $this->Receipts->add($value);
    }
1342814
public function replaceValue($value)
    {
        foreach ($this->_children as $i => $child) {
            if ($child instanceof XMLElement) {
                continue;
            }

            unset($this->_children[$i]);
        }

        $this->setValue($value);
    }
276467
function setValue($value) {
        $values = (array) $value;
        foreach ($values as $onevalue) {
            if (($this->tags || $this->ajax) &&
                    (!$this->optionExists($onevalue)) &&
                    ($onevalue !== '_qf__force_multiselect_submission')) {
                $this->addOption($onevalue, $onevalue);
            }
        }
        return parent::setValue($value);
    }
981927
public function addStructuredDataAttachments(\AgentSIB\Diadoc\Api\Proto\Events\StructuredDataAttachment $value)
    {
        if ($this->StructuredDataAttachments === null) {
            $this->StructuredDataAttachments = new \Protobuf\MessageCollection();
        }

        $this->StructuredDataAttachments->add($value);
    }
504973
public function addDealerProductVersion($value)
    {
        $currentArray = $this->getDealerProductVersions();
        $currentArray []= $value;
        $this->setDealerProductVersions($currentArray);

        return $this;
    }
752309
public function addClass($value)
    {
        if (!isset($this->attributeList['class']) || is_null($this->attributeList['class'])) {
            $this->attributeList['class'] = array();
        }
        $this->attributeList['class'][] = $value;
        return $this;
    }
785593
public function addUniversalTransferDocumentSellerTitles(\AgentSIB\Diadoc\Api\Proto\Events\XmlDocumentAttachment $value)
    {
        if ($this->UniversalTransferDocumentSellerTitles === null) {
            $this->UniversalTransferDocumentSellerTitles = new \Protobuf\MessageCollection();
        }

        $this->UniversalTransferDocumentSellerTitles->add($value);
    }
426465
public function addUniversalTransferDocumentBuyerTitles(\AgentSIB\Diadoc\Api\Proto\Events\ReceiptAttachment $value)
    {
        if ($this->UniversalTransferDocumentBuyerTitles === null) {
            $this->UniversalTransferDocumentBuyerTitles = new \Protobuf\MessageCollection();
        }

        $this->UniversalTransferDocumentBuyerTitles->add($value);
    }
1369498
public function addValue($value)
    {
        $this->assertCanHaveValue();
        $this->assertValueIsValid($value);

        if ($this->canHaveMultipleValues() && ! $this->hasValue($value)) {
            $value = array_merge($this->values, (array) $value);
        }

        $this->values = (array) $value;

        return $this;
    }