src/Api/Proto/Events/MessagePatchToPost.php
public function addReceipts(\AgentSIB\Diadoc\Api\Proto\Events\ReceiptAttachment $value)
    {
        if ($this->Receipts === null) {
            $this->Receipts = new \Protobuf\MessageCollection();
        }

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

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

@param \AgentSIB\Diadoc\Api\Proto\Events\ReceiptAttachment $value
Add a new element to Receipts