2022-03-13 10:18:15 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2024-04-12 06:15:41 +02:00
|
|
|
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
|
2022-03-13 10:18:15 +01:00
|
|
|
*
|
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Utils;
|
|
|
|
|
|
|
|
class TruthSource
|
|
|
|
{
|
|
|
|
public $company;
|
|
|
|
|
|
|
|
public $user;
|
|
|
|
|
|
|
|
public $company_user;
|
|
|
|
|
2022-03-13 10:24:58 +01:00
|
|
|
public $company_token;
|
2022-03-13 10:18:15 +01:00
|
|
|
|
2024-02-13 07:10:36 +01:00
|
|
|
public $premium_hosted;
|
|
|
|
|
|
|
|
public function setPremiumHosted($premium_hosted)
|
|
|
|
{
|
|
|
|
$this->premium_hosted = $premium_hosted;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
2022-03-13 10:18:15 +01:00
|
|
|
public function setCompanyUser($company_user)
|
|
|
|
{
|
|
|
|
$this->company_user = $company_user;
|
2022-06-21 11:57:17 +02:00
|
|
|
|
2022-03-13 10:18:15 +01:00
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
2022-06-21 11:57:17 +02:00
|
|
|
public function setUser($user)
|
|
|
|
{
|
2022-03-13 10:18:15 +01:00
|
|
|
$this->user = $user;
|
2022-06-21 11:57:17 +02:00
|
|
|
|
2022-03-13 10:18:15 +01:00
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setCompany($company)
|
|
|
|
{
|
|
|
|
$this->company = $company;
|
2022-06-21 11:57:17 +02:00
|
|
|
|
2022-03-13 10:18:15 +01:00
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
2022-03-13 10:24:58 +01:00
|
|
|
public function setCompanyToken($company_token)
|
|
|
|
{
|
|
|
|
$this->company_token = $company_token;
|
2022-06-21 11:57:17 +02:00
|
|
|
|
2022-03-13 10:24:58 +01:00
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
2024-02-13 07:10:36 +01:00
|
|
|
public function getPremiumHosted()
|
|
|
|
{
|
|
|
|
return $this->premium_hosted;
|
|
|
|
}
|
2024-06-14 09:09:44 +02:00
|
|
|
|
2022-03-13 10:18:15 +01:00
|
|
|
public function getCompany()
|
|
|
|
{
|
|
|
|
return $this->company;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getCompanyUser()
|
|
|
|
{
|
|
|
|
return $this->company_user;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getUser()
|
|
|
|
{
|
|
|
|
return $this->user;
|
|
|
|
}
|
2022-03-13 10:24:58 +01:00
|
|
|
|
|
|
|
public function getCompanyToken()
|
|
|
|
{
|
|
|
|
return $this->company_token;
|
|
|
|
}
|
2022-03-13 10:18:15 +01:00
|
|
|
}
|