mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 23:52:33 +01:00
43 lines
805 B
PHP
43 lines
805 B
PHP
<?php
|
|
/**
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
*
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
*
|
|
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
|
|
*
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
|
*/
|
|
|
|
namespace App\Services\InboundMail;
|
|
|
|
use Illuminate\Http\UploadedFile;
|
|
use Illuminate\Support\Carbon;
|
|
|
|
/**
|
|
* EmailObject.
|
|
*/
|
|
class InboundMail
|
|
{
|
|
public string $to;
|
|
|
|
public string $from;
|
|
|
|
public ?string $subject = null;
|
|
|
|
public ?string $body = null;
|
|
public ?UploadedFile $body_document = null;
|
|
|
|
public string $text_body;
|
|
|
|
/** @var array[\Illuminate\Http\UploadedFile] $documents */
|
|
public array $documents = [];
|
|
|
|
public ?Carbon $date = null;
|
|
|
|
function __constructor()
|
|
{
|
|
|
|
}
|
|
}
|