2018-07-27 16:15:32 -07:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
|
|
|
|
2018-07-28 03:45:33 -07:00
|
|
|
use App\Models\CheckoutAcceptance;
|
2018-07-27 16:15:32 -07:00
|
|
|
use App\Models\Contracts\Acceptable;
|
|
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
2018-07-28 03:45:33 -07:00
|
|
|
class CheckoutAccepted
|
2018-07-27 16:15:32 -07:00
|
|
|
{
|
|
|
|
use Dispatchable, SerializesModels;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2018-07-28 03:45:33 -07:00
|
|
|
public function __construct(CheckoutAcceptance $acceptance)
|
2018-07-27 16:15:32 -07:00
|
|
|
{
|
2021-06-10 13:15:52 -07:00
|
|
|
$this->acceptance = $acceptance;
|
2018-07-27 16:15:32 -07:00
|
|
|
}
|
|
|
|
}
|