1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 00:41:34 +02:00
invoiceninja/app/Events/Payment/PaymentWasRefunded.php
2019-05-11 13:32:07 +10:00

43 lines
816 B
PHP

<?php
/**
* Invoice Ninja (https://invoiceninja.com)
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2019. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\Events\Payment;
use App\Models\Payment;
use Illuminate\Queue\SerializesModels;
/**
* Class PaymentWasRefunded.
*/
class PaymentWasRefunded
{
use SerializesModels;
/**
* @var Payment
*/
public $payment;
public $refundAmount;
/**
* Create a new event instance.
*
* @param Payment $payment
* @param $refundAmount
*/
public function __construct(Payment $payment, $refundAmount)
{
$this->payment = $payment;
$this->refundAmount = $refundAmount;
}
}