Company
Company
- Full name:
\Onslip360\API\Company
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$address | string | |
$alias | string | |
$name | string | |
$orgNumber | string | |
$phoneNumber | string | |
$businessCategory | \Onslip360\API\Company\Category|null | |
$created | string|null | |
$currency | string|null | |
$deleted | string|null | |
$derivationBaseKey | string|null | |
$email | string|null | |
$feature | \Onslip360\API\CompanyFeature|null | |
$id | int|null | |
$locale | string|null | |
$registrationType | \Onslip360\API\Company\RegistrationType|null | |
$reseller | int|null | |
$resellerParams | \Onslip360\API\ResellerParams|null | |
$salesBreakpointHour | int|null | |
$secondaryLocale | string|null | |
$tags | string[]|null | |
$terminated | string|null | |
$timeZone | string|null | |
$type | \Onslip360\API\Company\Type|null | |
$updated | string|null | |
$updatedBy | int|null | |
$updatedFrom | int|null | |
$webAddress | string|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05