dolibarr.bankimport/vendor/nemiah/php-fints/lib/Tests/Fhp/FinTsPeer.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

45 lines
955 B
PHP
Executable file

<?php
namespace Tests\Fhp;
use Fhp\Connection;
use Fhp\FinTs;
use Fhp\Options\Credentials;
use Fhp\Options\FinTsOptions;
use Fhp\Protocol\ServerException;
/**
* Sub-classes {@link FinTs} to expose some of the protected functions, and also to inject the Connection mock.
*/
class FinTsPeer extends FinTs
{
/**
* @var Connection
*/
public static $mockConnection;
public function __construct(FinTsOptions $options, ?Credentials $credentials)
{
parent::__construct($options, $credentials);
}
/** {@inheritdoc} */
protected function newConnection(): Connection
{
return self::$mockConnection;
}
/**
* {@inheritdoc}
* @throws ServerException
*/
public function endDialog(bool $isAnonymous = false) // parent::endDialog() is protected
{
parent::endDialog($isAnonymous);
}
public function getDialogId()
{
return $this->dialogId;
}
}