1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Utils/TruthSource.php

86 lines
1.4 KiB
PHP
Raw Normal View History

<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
2023-01-28 23:21:40 +01:00
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
*
* @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;
public $premium_hosted;
public function setPremiumHosted($premium_hosted)
{
$this->premium_hosted = $premium_hosted;
return $this;
}
public function setCompanyUser($company_user)
{
$this->company_user = $company_user;
return $this;
}
public function setUser($user)
{
$this->user = $user;
return $this;
}
public function setCompany($company)
{
$this->company = $company;
return $this;
}
2022-03-13 10:24:58 +01:00
public function setCompanyToken($company_token)
{
$this->company_token = $company_token;
2022-03-13 10:24:58 +01:00
return $this;
}
public function getPremiumHosted()
{
return $this->premium_hosted;
}
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;
}
}