Add a new element to 'XmlTorg12BuyerTitles'

@param \AgentSIB\Diadoc\Api\Proto\Events\ReceiptAttachment $value
347181
public function addXmlTorg12BuyerTitles(\AgentSIB\Diadoc\Api\Proto\Events\ReceiptAttachment $value)
    {
        if ($this->XmlTorg12BuyerTitles === null) {
            $this->XmlTorg12BuyerTitles = new \Protobuf\MessageCollection();
        }

        $this->XmlTorg12BuyerTitles->add($value);
    }
1288629
public function setInvoiceCorrectionRevisionDateAndNumber(\AgentSIB\Diadoc\Api\Proto\Docflow\DocumentDateAndNumber $value = null)
    {
        $this->InvoiceCorrectionRevisionDateAndNumber = $value;
    }
316585
public function addResolutionRequestCancellations(\AgentSIB\Diadoc\Api\Proto\Events\ResolutionRequestCancellationAttachment $value)
    {
        if ($this->ResolutionRequestCancellations === null) {
            $this->ResolutionRequestCancellations = new \Protobuf\MessageCollection();
        }

        $this->ResolutionRequestCancellations->add($value);
    }
932282
public function addCustomDocumentAttachments(\AgentSIB\Diadoc\Api\Proto\Events\CustomDocumentAttachment $value)
    {
        if ($this->CustomDocumentAttachments === null) {
            $this->CustomDocumentAttachments = new \Protobuf\MessageCollection();
        }

        $this->CustomDocumentAttachments->add($value);
    }
279396
public function addRequestedSignatureRejections(\AgentSIB\Diadoc\Api\Proto\Events\RequestedSignatureRejection $value)
    {
        if ($this->RequestedSignatureRejections === null) {
            $this->RequestedSignatureRejections = new \Protobuf\MessageCollection();
        }

        $this->RequestedSignatureRejections->add($value);
    }
1184059
public function addDocuments(\AgentSIB\Diadoc\Api\Proto\Docflow\DocumentWithDocflow $value)
    {
        if ($this->Documents === null) {
            $this->Documents = new \Protobuf\MessageCollection();
        }

        $this->Documents->add($value);
    }
226342
public function addServiceDetailsDocuments(\AgentSIB\Diadoc\Api\Proto\Events\ServiceDetailsAttachment $value)
    {
        if ($this->ServiceDetailsDocuments === null) {
            $this->ServiceDetailsDocuments = new \Protobuf\MessageCollection();
        }

        $this->ServiceDetailsDocuments->add($value);
    }
739662
public function addEntities(\AgentSIB\Diadoc\Api\Proto\Events\Entity $value)
    {
        if ($this->Entities === null) {
            $this->Entities = new \Protobuf\MessageCollection();
        }

        $this->Entities->add($value);
    }
871808
public function setSellerDocflowParticipant(\AgentSIB\Diadoc\Api\Proto\Invoicing\DocflowParticipant $value)
    {
        $this->SellerDocflowParticipant = $value;
    }
934352
public function setAttachmentType(\AgentSIB\Diadoc\Api\Proto\Events\AttachmentType $value = null)
    {
        $this->AttachmentType = $value;
    }
202159
public function addResolutionRequestDenialCancellations(\AgentSIB\Diadoc\Api\Proto\Events\ResolutionRequestDenialCancellationAttachment $value)
    {
        if ($this->ResolutionRequestDenialCancellations === null) {
            $this->ResolutionRequestDenialCancellations = new \Protobuf\MessageCollection();
        }

        $this->ResolutionRequestDenialCancellations->add($value);
    }
46495
public function addSignatureVerifications(\AgentSIB\Diadoc\Api\Proto\Events\SignatureVerification $value)
    {
        if ($this->SignatureVerifications === null) {
            $this->SignatureVerifications = new \Protobuf\MessageCollection();
        }

        $this->SignatureVerifications->add($value);
    }
818075
public function addPaymentDocuments(\AgentSIB\Diadoc\Api\Proto\Invoicing\PaymentDocumentInfo $value)
    {
        if ($this->PaymentDocuments === null) {
            $this->PaymentDocuments = new \Protobuf\MessageCollection();
        }

        $this->PaymentDocuments->add($value);
    }
971784
public function setOriginalInvoiceCorrectionDateAndNumber(\AgentSIB\Diadoc\Api\Proto\Docflow\DocumentDateAndNumber $value = null)
    {
        $this->OriginalInvoiceCorrectionDateAndNumber = $value;
    }
355565
public function attach($value, $capture = null)
    {
        if (null === $capture) {
            $capture = $this->captureType;
        }

        switch ($capture) {
            case self::APPEND:
                $this->append($value);
                break;
            case self::PREPEND:
                $this->prepend($value);
                break;
            case self::SET:
                $this->set($value);
                break;
            default:
                throw new InvalidArgumentException(sprintf(
                    'Invalid capture type provided; must be any of the capture '
                    . 'type constants, "%s" received.',
                    is_scalar($capture) ? $capture : gettype($capture)
                ));
        }

        return $this;
    }
514478
public function setBuyer(\AgentSIB\Diadoc\Api\Proto\Invoicing\DiadocOrganizationInfo $value)
    {
        $this->Buyer = $value;
    }
735353
public function addDealerContactVersion($value)
    {
        $currentArray = $this->getDealerContactVersions();
        $currentArray []= $value;
        $this->setDealerContactVersions($currentArray);

        return $this;
    }