mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
26 lines
422 B
PHP
26 lines
422 B
PHP
<?php namespace App\Events;
|
|
|
|
use App\Events\Event;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class PaymentWasRefunded extends Event {
|
|
|
|
use SerializesModels;
|
|
|
|
public $payment;
|
|
public $refundAmount;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct($payment, $refundAmount)
|
|
{
|
|
$this->payment = $payment;
|
|
$this->refundAmount = $refundAmount;
|
|
}
|
|
|
|
}
|