2017-01-30 20:40:43 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
2016-04-30 23:54:56 +02:00
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
use App\Models\Payment;
|
2016-04-30 23:54:56 +02:00
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
2017-01-30 20:40:43 +01:00
|
|
|
* Class PaymentFailed.
|
2016-07-03 18:11:58 +02:00
|
|
|
*/
|
|
|
|
class PaymentFailed extends Event
|
|
|
|
{
|
2016-04-30 23:54:56 +02:00
|
|
|
use SerializesModels;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* @var Payment
|
|
|
|
*/
|
2016-04-30 23:54:56 +02:00
|
|
|
public $payment;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
2016-07-03 18:11:58 +02:00
|
|
|
* @param Payment $payment
|
2016-04-30 23:54:56 +02:00
|
|
|
*/
|
2016-07-03 18:11:58 +02:00
|
|
|
public function __construct(Payment $payment)
|
2016-04-30 23:54:56 +02:00
|
|
|
{
|
|
|
|
$this->payment = $payment;
|
|
|
|
}
|
|
|
|
}
|