Skip to main content

Stored_Customer


Stored_Customer

Properties​

created​

public string $created

id​

public int $id

name​

public string $name

updated​

public string $updated

city​

public string|null $city

clientReferences​

public array|null $clientReferences

comment​

public string|null $comment

country​

public string|null $country

customerNumber​

public string|null $customerNumber

deleted​

public string|null $deleted

email​

public string|null $email

labels​

public array|null $labels

orgNumber​

public string|null $orgNumber

phoneNumber​

public string|null $phoneNumber

referenceName​

public string|null $referenceName

streetAddress​

public string|null $streetAddress

subscription​

public bool|null $subscription

tags​

public array|null $tags

type​

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

updatedBy​

public int|null $updatedBy

updatedFrom​

public int|null $updatedFrom

zipCode​

public string|null $zipCode

Methods​

__construct​

public __construct(string $created, int $id, string $name, string $updated, string|null $city = null, string[]|null $clientReferences = null, string|null $comment = null, string|null $country = null, string|null $customerNumber = null, string|null $deleted = null, string|null $email = null, int[]|null $labels = null, string|null $orgNumber = null, string|null $phoneNumber = null, string|null $referenceName = null, string|null $streetAddress = null, bool|null $subscription = null, string[]|null $tags = null, \Onslip360\API\Customer\Type|null $type = null, int|null $updatedBy = null, int|null $updatedFrom = null, string|null $zipCode = null): mixed

Parameters:

ParameterTypeDescription
$createdstring
$idint
$namestring
$updatedstring
$citystring|null
$clientReferencesstring[]|null
$commentstring|null
$countrystring|null
$customerNumberstring|null
$deletedstring|null
$emailstring|null
$labelsint[]|null
$orgNumberstring|null
$phoneNumberstring|null
$referenceNamestring|null
$streetAddressstring|null
$subscriptionbool|null
$tagsstring[]|null
$type\Onslip360\API\Customer\Type|null
$updatedByint|null
$updatedFromint|null
$zipCodestring|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