classify admin
This commit is contained in:
17
app/Services/Payment/PaymentInterface.php
Normal file
17
app/Services/Payment/PaymentInterface.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Payment;
|
||||
|
||||
interface PaymentInterface {
|
||||
public function createPaymentIntent($amount, $customMetaData);
|
||||
|
||||
public function createAndFormatPaymentIntent($amount, $customMetaData): array;
|
||||
|
||||
public function retrievePaymentIntent($paymentId): array;
|
||||
|
||||
public function minimumAmountValidation($currency, $amount);
|
||||
|
||||
public function formatPaymentIntent($id, $amount, $currency, $status, $metadata, $paymentIntent): array;
|
||||
//
|
||||
// public function checkPayment(Order $order): PaymentStatus;
|
||||
}
|
||||
Reference in New Issue
Block a user