mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
38 lines
693 B
PHP
38 lines
693 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Invoice Ninja (https://invoiceninja.com)
|
||
|
*
|
||
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||
|
*
|
||
|
* @copyright Copyright (c) 2020. 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 PaymentWasEmailed.
|
||
|
*/
|
||
|
class PaymentWasEmailed
|
||
|
{
|
||
|
use SerializesModels;
|
||
|
|
||
|
/**
|
||
|
* @var Payment
|
||
|
*/
|
||
|
public $payment;
|
||
|
|
||
|
/**
|
||
|
* PaymentWasEmailed constructor.
|
||
|
* @param Payment $payment
|
||
|
*/
|
||
|
public function __construct(Payment $payment)
|
||
|
{
|
||
|
$this->payment = $payment;
|
||
|
}
|
||
|
}
|