mirror of https://github.com/4xmen/xshop.git
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
PHTML
28 lines
434 B
PHTML
4 months ago
|
<?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;
|
||
|
}
|
||
|
}
|