Skip to main content

Customer


Customer

Properties

name

public string $name

city

public string|null $city

clientReferences

public array|null $clientReferences

comment

public string|null $comment

country

public string|null $country

created

public string|null $created

customerNumber

public string|null $customerNumber

deleted

public string|null $deleted

email

public string|null $email

id

public int|null $id

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

updated

public string|null $updated

updatedBy

public int|null $updatedBy

updatedFrom

public int|null $updatedFrom

zipCode

public string|null $zipCode

Methods

__construct

public __construct(string $name, string|null $city = null, string[]|null $clientReferences = null, string|null $comment = null, string|null $country = null, string|null $created = null, string|null $customerNumber = null, string|null $deleted = null, string|null $email = null, int|null $id = 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, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null, string|null $zipCode = null): mixed

Parameters:

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