online payments for card order
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Modules\OnlinePayment\Contracts;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
*/
|
||||
interface HasOnlinePayments {}
|
||||
@@ -7,4 +7,14 @@ use Illuminate\Http\Client\Response;
|
||||
interface PaymentProviderContract
|
||||
{
|
||||
public function sendRequest(): Response;
|
||||
|
||||
public function orderNumber(): int|string;
|
||||
|
||||
public function amount(): int|float|string;
|
||||
|
||||
public function description(): string;
|
||||
|
||||
public function returnUrl(): string;
|
||||
|
||||
public function username(): string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user