Stored_Customer
Stored_Customer
- Full name:
\Onslip360\API\Stored_Customer
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$created | string | |
$id | int | |
$name | string | |
$updated | string | |
$city | string|null | |
$clientReferences | string[]|null | |
$comment | string|null | |
$country | string|null | |
$customerNumber | string|null | |
$deleted | string|null | |
$email | string|null | |
$labels | int[]|null | |
$orgNumber | string|null | |
$phoneNumber | string|null | |
$referenceName | string|null | |
$streetAddress | string|null | |
$subscription | bool|null | |
$tags | string[]|null | |
$type | \Onslip360\API\Customer\Type|null | |
$updatedBy | int|null | |
$updatedFrom | int|null | |
$zipCode | 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