Set 'Buyer' value

@param \AgentSIB\Diadoc\Api\Proto\Invoicing\DiadocOrganizationInfo $value
514478
public function setBuyer(\AgentSIB\Diadoc\Api\Proto\Invoicing\DiadocOrganizationInfo $value)
    {
        $this->Buyer = $value;
    }
1305237
public function setCarrier(\AgentSIB\Diadoc\Api\Proto\Invoicing\Organizations\ExtendedOrganizationInfo $value = null)
    {
        $this->Carrier = $value;
    }
1192614
public function setIndividual($value)
    {
        if ($value && !$value instanceof MerchantIndividual) {
            $value = new MerchantIndividual($value);
        }

        return $this->setParameter('individual', $value);
    }
856208
public function setSigner(\AgentSIB\Diadoc\Api\Proto\Invoicing\Signer $value)
    {
        $this->Signer = $value;
    }
1259928
public function setDocumentInfo(\AgentSIB\Diadoc\Api\Proto\Docflow\DocumentInfo $value = null)
    {
        $this->DocumentInfo = $value;
    }
520629
public function setDocflow(\AgentSIB\Diadoc\Api\Proto\Docflow\Docflow $value = null)
    {
        $this->Docflow = $value;
    }
1116306
public function setReceiptItems($value)
    {
        $this->receipt->setItems(array());
        $index = 0;
        foreach ($value as $item) {
            if ($item instanceof ReceiptItemInterface) {
                $this->receipt->addItem($item);
            } else {
                if (empty($item['title']) && empty($item['description'])) {
                    throw new InvalidPropertyValueException(
                        'Item#'.$index.' title or description not specified',
                        0,
                        'AbstractPaymentRequestBuilder.items['.$index.'].title',
                        json_encode($item)
                    );
                }
                foreach (array('price', 'quantity', 'vatCode') as $property) {
                    if (empty($item[$property])) {
                        throw new InvalidPropertyValueException(
                            'Item#'.$index.' '.$property.' not specified',
                            0,
                            'AbstractPaymentRequestBuilder.items['.$index.'].'.$property,
                            json_encode($item)
                        );
                    }
                }
                $this->addReceiptItem(
                    empty($item['title']) ? $item['description'] : $item['title'],
                    $item['price'],
                    $item['quantity'],
                    $item['vatCode']
                );
            }
            $index++;
        }

        return $this;
    }
32158
public function setRecipientGatewayId($value)
    {
        if ($value === null || $value === '') {
            $this->_recipientGatewayId = null;
        } elseif (TypeCast::canCastToString($value)) {
            $this->_recipientGatewayId = (string)$value;
        } else {
            throw new InvalidPropertyValueTypeException(
                'Invalid recipientGatewayId value type in PaymentsRequest', 0, 'PaymentsRequest.recipientGatewayId',
                $value
            );
        }
    }
869219
public function setInvoiceCorrectionRevisionMetadata(\AgentSIB\Diadoc\Api\Proto\Documents\InvoiceDocument\InvoiceCorrectionRevisionMetadata $value = null)
    {
        $this->InvoiceCorrectionRevisionMetadata = $value;
    }
844116
public function setDocumentInfo(\AgentSIB\Diadoc\Api\Proto\Documents\Document $value = null)
    {
        $this->DocumentInfo = $value;
    }
470049
public function setPaymentMethodDetails($value)
    {
        if (!$this->_isNumericArray($value)) {
            $value = array ($value);
        }
        $this->_fields['PaymentMethodDetails']['FieldValue'] = $value;
        return $this;
    }
1158892
public function setBuyerTitleDocflow(\AgentSIB\Diadoc\Api\Proto\Docflow\BuyerTitleDocflow $value = null)
    {
        $this->BuyerTitleDocflow = $value;
    }
725346
public function setRecipientPerson(\AgentSIB\Diadoc\Api\Proto\Invoicing\Official $value = null)
    {
        $this->RecipientPerson = $value;
    }
41138
public function setTotalsInc(\AgentSIB\Diadoc\Api\Proto\Invoicing\InvoiceTotalsDiff $value = null)
    {
        $this->TotalsInc = $value;
    }
269624
public function setSupplier(\AgentSIB\Diadoc\Api\Proto\Invoicing\OrganizationInfo $value = null)
    {
        $this->Supplier = $value;
    }
1086092
public function setInvoiceMetadata(\AgentSIB\Diadoc\Api\Proto\Events\EncryptedInvoiceMetadata $value = null)
    {
        $this->InvoiceMetadata = $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);
    }