feat : Bridge pay
This commit is contained in:
18
app/Interface/Test/Bridge/PaymentInterface.php
Normal file
18
app/Interface/Test/Bridge/PaymentInterface.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interface\Test\Bridge;
|
||||
|
||||
interface PaymentInterface
|
||||
{
|
||||
/**
|
||||
* @param float $amount
|
||||
* @return array
|
||||
*/
|
||||
public function pay(float $amount): array;
|
||||
|
||||
/**
|
||||
* @param float $amount
|
||||
* @return array
|
||||
*/
|
||||
public function refund(float $amount): array;
|
||||
}
|
||||
Reference in New Issue
Block a user