Files
tbbank-new/app/Modules/OnlinePayment/Contracts/PaymentProviderContract.php
2025-11-02 18:19:25 +05:00

27 lines
578 B
PHP

<?php
namespace App\Modules\OnlinePayment\Contracts;
use Illuminate\Http\Client\Response;
interface PaymentProviderContract
{
public function sendRequest(): Response;
public function checkPayment(string $orderId): Response;
public function orderNumber(): int|string;
public function amount(): int|float|string;
public function description(): string;
public function returnUrl(): string;
public function username(): string;
public function setUsername(string $username): self;
public function setPassword(string $password): self;
}