Skip to main content

Company


Company

Properties​

address​

public string $address

alias​

public string $alias

name​

public string $name

orgNumber​

public string $orgNumber

phoneNumber​

public string $phoneNumber

businessCategory​

public \Onslip360\API\Company\Category|null $businessCategory

created​

public string|null $created

currency​

public string|null $currency

deleted​

public string|null $deleted

derivationBaseKey​

public string|null $derivationBaseKey

email​

public string|null $email

feature​

public \Onslip360\API\CompanyFeature|null $feature

id​

public int|null $id

locale​

public string|null $locale

registrationType​

public \Onslip360\API\Company\RegistrationType|null $registrationType

reseller​

public int|null $reseller

resellerParams​

public \Onslip360\API\ResellerParams|null $resellerParams

salesBreakpointHour​

public int|null $salesBreakpointHour

secondaryLocale​

public string|null $secondaryLocale

tags​

public array|null $tags

terminated​

public string|null $terminated

timeZone​

public string|null $timeZone

type​

public \Onslip360\API\Company\Type|null $type

updated​

public string|null $updated

updatedBy​

public int|null $updatedBy

updatedFrom​

public int|null $updatedFrom

webAddress​

public string|null $webAddress

Methods​

__construct​

public __construct(string $address, string $alias, string $name, string $orgNumber, string $phoneNumber, \Onslip360\API\Company\Category|null $businessCategory = null, string|null $created = null, string|null $currency = null, string|null $deleted = null, string|null $derivationBaseKey = null, string|null $email = null, \Onslip360\API\CompanyFeature|null $feature = null, int|null $id = null, string|null $locale = null, \Onslip360\API\Company\RegistrationType|null $registrationType = null, int|null $reseller = null, \Onslip360\API\ResellerParams|null $resellerParams = null, int|null $salesBreakpointHour = null, string|null $secondaryLocale = null, string[]|null $tags = null, string|null $terminated = null, string|null $timeZone = null, \Onslip360\API\Company\Type|null $type = null, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null, string|null $webAddress = null): mixed

Parameters:

ParameterTypeDescription
$addressstring
$aliasstring
$namestring
$orgNumberstring
$phoneNumberstring
$businessCategory\Onslip360\API\Company\Category|null
$createdstring|null
$currencystring|null
$deletedstring|null
$derivationBaseKeystring|null
$emailstring|null
$feature\Onslip360\API\CompanyFeature|null
$idint|null
$localestring|null
$registrationType\Onslip360\API\Company\RegistrationType|null
$resellerint|null
$resellerParams\Onslip360\API\ResellerParams|null
$salesBreakpointHourint|null
$secondaryLocalestring|null
$tagsstring[]|null
$terminatedstring|null
$timeZonestring|null
$type\Onslip360\API\Company\Type|null
$updatedstring|null
$updatedByint|null
$updatedFromint|null
$webAddressstring|null

Inherited methods​

getExtended​

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended​

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson​

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray​

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize​

public jsonSerialize(): array|object


Automatically generated on 2026-06-17