File: D:/HostingSpaces/blijegasten/blijegasten.be/app/Komma/Shop/Payment/PaymentServiceInterface.php
<?php
namespace App\Komma\Shop\Payment;
use App\Komma\Shop\Payment\PSPAdapters\AbstractPSPAdapter;
/**
* Class PaymentService
*
* The payment service returns Adapters which help handling
* payments for different PSPs.
*
* @package App\Komma\Shop\Payment
*/
interface PaymentServiceInterface
{
/**
* Returns the concrete adapter.
* e.g. An adapter that extends this class.
*
* The adapter knows how to both work with KMS and
* a script from a PSP to process payments
*
* @return AbstractPSPAdapter
*/
public function getAdapter(): AbstractPSPAdapter;
}