initial commit
This commit is contained in:
14
app/Services/Payment/GateWay.php
Normal file
14
app/Services/Payment/GateWay.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Payment;
|
||||
|
||||
use App\Services\Payment\Gateway\NmiPayment;
|
||||
|
||||
class GateWay
|
||||
{
|
||||
public static function getGateWayInstance($gateway_code){
|
||||
if($gateway_code == config('constant.PAYMENT_GATEWAY.NMI')){
|
||||
return new NmiPayment();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user