dolibarr.bankimport/vendor/nemiah/php-fints/lib/Fhp/Syntax/Bin.php
data 94efa59df3 v1.7: Multi-invoice payments and payment unlinking
- Add multi-invoice payment support (link one bank transaction to multiple invoices)
- Add payment unlinking feature to correct wrong matches
- Show linked payments, invoices and bank entries in transaction detail view
- Allow linking already paid invoices to bank transactions
- Update README with new features
- Add CHANGELOG.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-20 09:00:05 +01:00

46 lines
732 B
PHP
Executable file

<?php
namespace Fhp\Syntax;
class Bin
{
protected string $string;
public function __construct(string $string)
{
$this->string = $string;
}
/**
* Sets the binary data.
*
* @return $this
*/
public function setData(string $data): static
{
$this->string = $data;
return $this;
}
/**
* Gets the binary data.
*/
public function getData(): string
{
return $this->string;
}
/**
* Convert to string.
*/
public function toString(): string
{
return '@' . strlen($this->string) . '@' . $this->string;
}
public function __toString(): string
{
return $this->toString();
}
}