src/Api/Proto/Events/MessageToPost.php
public function addInvoices(\AgentSIB\Diadoc\Api\Proto\Events\XmlDocumentAttachment $value)
    {
        if ($this->Invoices === null) {
            $this->Invoices = new \Protobuf\MessageCollection();
        }

        $this->Invoices->add($value);
    }
public function addInvoices(\AgentSIB\Diadoc\Api\Proto\Events\XmlDocumentAttachment $value)
    {
        if ($this->Invoices === null) {
            $this->Invoices = new \Protobuf\MessageCollection();
        }

        $this->Invoices->add($value);
    }
public function addInvoices ( \ AgentSIB \ Diadoc \ Api \ Proto \ Events \ XmlDocumentAttachment $ value ) { if ( $ this -> Invoices === null ) { $ this -> Invoices = new \ Protobuf \ MessageCollection ( ) ; } $ this -> Invoices -> add ( $ value ) ; }
Add a new element to 'Invoices'

@param \AgentSIB\Diadoc\Api\Proto\Events\XmlDocumentAttachment $value
Add a new element to Invoices