1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/Events/PaymentWasRefunded.php

32 lines
559 B
PHP
Raw Normal View History

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