mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 12:33:56 +00:00
75 lines
1.4 KiB
PHP
75 lines
1.4 KiB
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\PerfexCRM\DataTransferObjects;
|
|
|
|
use Illuminate\Http\Request;
|
|
use App\Classes\General\Interfaces\DataTransferObject;
|
|
use App\Models\Transaction;
|
|
|
|
class UpdatePerfexCRMInvoiceObject implements DataTransferObject
|
|
{
|
|
/** @var string */
|
|
private $email;
|
|
|
|
/** @var Transaction */
|
|
private $transaction;
|
|
|
|
/** @var bool */
|
|
private $isPaid;
|
|
|
|
/** @var string */
|
|
private $projectName;
|
|
|
|
/** @var string */
|
|
private $projectId;
|
|
|
|
public function __construct(string $email, string $projectName, string $projectId, Transaction $transaction, bool $isPaid)
|
|
{
|
|
$this->email = $email;
|
|
$this->transaction = $transaction;
|
|
$this->isPaid = $isPaid;
|
|
$this->projectName = $projectName;
|
|
$this->projectId = $projectId;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getEmail(): string
|
|
{
|
|
return $this->email;
|
|
}
|
|
|
|
/**
|
|
* @return Transaction
|
|
*/
|
|
public function getTransaction(): Transaction
|
|
{
|
|
return $this->transaction;
|
|
}
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getIsPaid(): bool
|
|
{
|
|
return $this->isPaid;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getProjectName(): string
|
|
{
|
|
return $this->projectName;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getProjectId(): string
|
|
{
|
|
return $this->projectId;
|
|
}
|
|
}
|