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

34 lines
561 B
PHP
Raw Normal View History

2017-01-30 20:40:43 +01:00
<?php
namespace App\Events;
2016-04-23 22:40:19 +02:00
use App\Models\Payment;
2016-04-23 22:40:19 +02:00
use Illuminate\Queue\SerializesModels;
/**
2017-01-30 20:40:43 +01:00
* 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;
}
}