프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$invoiceRepo | |||
$paymentService | |||
$userMailer |
메소드 | 설명 | |
---|---|---|
__construct ( |
OnlinePaymentController constructor. | |
doPayment ( |
||
getBankInfo ( $routingNumber ) : Illuminate\Http\JsonResponse | ||
handleBuyNow ( |
||
handlePaymentWebhook ( $accountKey, $gatewayId ) : Illuminate\Http\JsonResponse | ||
offsitePayment ( boolean $invitationKey = false, mixed $gatewayTypeAlias = false ) : Illuminate\Http\RedirectResponse | ||
showPayment ( $invitationKey, $gatewayTypeAlias = false, boolean $sourceId = false ) : Illuminate\Http\RedirectResponse |
메소드 | 설명 | |
---|---|---|
error ( $paymentDriver, $exception, boolean $showPayment = false ) : Illuminate\Http\RedirectResponse |
public __construct ( |
||
$paymentService | ||
$userMailer | ||
$invoiceRepo |
public doPayment ( |
||
$request | ||
리턴 | Illuminate\Http\RedirectResponse |
public getBankInfo ( $routingNumber ) : Illuminate\Http\JsonResponse | ||
$routingNumber | ||
리턴 | Illuminate\Http\JsonResponse |
public handleBuyNow ( |
||
$clientRepo | ||
$invoiceService |
public handlePaymentWebhook ( $accountKey, $gatewayId ) : Illuminate\Http\JsonResponse | ||
$accountKey | ||
$gatewayId | ||
리턴 | Illuminate\Http\JsonResponse |
public offsitePayment ( boolean $invitationKey = false, mixed $gatewayTypeAlias = false ) : Illuminate\Http\RedirectResponse | ||
$invitationKey | boolean | |
$gatewayTypeAlias | mixed | |
리턴 | Illuminate\Http\RedirectResponse |
public showPayment ( $invitationKey, $gatewayTypeAlias = false, boolean $sourceId = false ) : Illuminate\Http\RedirectResponse | ||
$invitationKey | ||
$sourceId | boolean | |
리턴 | Illuminate\Http\RedirectResponse |
protected InvoiceRepository,App\Ninja\Repositories $invoiceRepo | ||
리턴 |
protected PaymentService,App\Services $paymentService | ||
리턴 |