1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
invoiceninja/app/Events/PaymentWasVoided.php

28 lines
440 B
PHP
Raw Normal View History

2016-05-06 23:05:42 +02:00
<?php namespace App\Events;
use App\Models\Payment;
2016-05-06 23:05:42 +02:00
use Illuminate\Queue\SerializesModels;
/**
* Class PaymentWasVoided
*/
class PaymentWasVoided extends Event
{
2016-05-06 23:05:42 +02:00
use SerializesModels;
/**
* @var Payment
*/
2016-05-06 23:05:42 +02:00
public $payment;
/**
* Create a new event instance.
*
* @param Payment $payment
2016-05-06 23:05:42 +02:00
*/
public function __construct(Payment $payment)
2016-05-06 23:05:42 +02:00
{
$this->payment = $payment;
}
}