Documentation

InvoiceController extends Controller
in package

Invoice Controller.

Table of Contents

$invoiceService  : InvoiceService
__construct()  : mixed
destroy()  : Response
Remove the specified resource from storage.
fetchStatus()  : JsonResponse
Retrieves the invoice status
index()  : mixed
Display a listing of the resource.
show()  : InvoiceResource
Display the specified resource.
store()  : InvoiceResource
Store a newly created resource in storage.
update()  : InvoiceResource
Update the specified resource in storage.
updatePaymentGateway()  : JsonResponse

Properties

Methods

destroy()

Remove the specified resource from storage.

public destroy(int $id) : Response
Parameters
$id : int
Tags
throws
Exception
Return values
Response

fetchStatus()

Retrieves the invoice status

public fetchStatus(Request $request, int $invoiceId) : JsonResponse
Parameters
$request : Request
$invoiceId : int
Return values
JsonResponse

index()

Display a listing of the resource.

public index() : mixed
Return values
mixed

updatePaymentGateway()

public updatePaymentGateway(Request $request, int $invoiceId, PaymentGateway $paymentGateway) : JsonResponse
Parameters
$request : Request
$invoiceId : int
$paymentGateway : PaymentGateway
Return values
JsonResponse

Search results