forked from a1gard/xshop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
434 B
PHP
28 lines
434 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Invoice;
|
|
use App\Models\Payment;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class InvoiceSucceed
|
|
{
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* @var Invoice
|
|
*/
|
|
public $invoice;
|
|
/**
|
|
* @var Payment
|
|
*/
|
|
public $payment;
|
|
|
|
public function __construct(Invoice $invoice,Payment $payment)
|
|
{
|
|
$this->invoice = $invoice;
|
|
$this->payment = $payment;
|
|
}
|
|
}
|