PHP Class App\Http\Controllers\PaymentApiController

Inheritance: extends Controller
Show file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$entityType
$paymentRepo

Public Methods

Method Description
__construct ( PaymentRepository $paymentRepo, ContactMailer $contactMailer )
destroy ( App\Http\Requests\UpdatePaymentRequest $request )
index ( )
store ( CreatePaymentAPIRequest $request )
update ( App\Http\Requests\UpdatePaymentRequest $request, $publicId )

Method Details

__construct() public method

public __construct ( PaymentRepository $paymentRepo, ContactMailer $contactMailer )
$paymentRepo App\Ninja\Repositories\PaymentRepository
$contactMailer App\Ninja\Mailers\ContactMailer

destroy() public method

public destroy ( App\Http\Requests\UpdatePaymentRequest $request )
$request App\Http\Requests\UpdatePaymentRequest

index() public method

public index ( )

store() public method

public store ( CreatePaymentAPIRequest $request )
$request App\Http\Requests\CreatePaymentAPIRequest

update() public method

public update ( App\Http\Requests\UpdatePaymentRequest $request, $publicId )
$request App\Http\Requests\UpdatePaymentRequest

Property Details

$entityType protected property

protected $entityType

$paymentRepo protected property

protected $paymentRepo