Partial_Customer
Partial_Customer
- Full name:
\Onslip360\API\Partial_Customer
- Parent class:
\Onslip360\Onslip360Object
Properties
city
public string|null|\Onslip360\Nil $city
clientReferences
public array|null|\Onslip360\Nil $clientReferences
comment
public string|null|\Onslip360\Nil $comment
country
public string|null|\Onslip360\Nil $country
customerNumber
public string|null|\Onslip360\Nil $customerNumber
deleted
public string|null|\Onslip360\Nil $deleted
email
public string|null|\Onslip360\Nil $email
labels
public array|null|\Onslip360\Nil $labels
name
public string|null $name
orgNumber
public string|null|\Onslip360\Nil $orgNumber
phoneNumber
public string|null|\Onslip360\Nil $phoneNumber
referenceName
public string|null|\Onslip360\Nil $referenceName
streetAddress
public string|null|\Onslip360\Nil $streetAddress
subscription
public bool|null|\Onslip360\Nil $subscription
tags
public array|null|\Onslip360\Nil $tags
type
public \Onslip360\API\Customer\Type|null|\Onslip360\Nil $type
zipCode
public string|null|\Onslip360\Nil $zipCode
Methods
__construct
public __construct(string|null|\Onslip360\Nil $city = null, string[]|null|\Onslip360\Nil $clientReferences = null, string|null|\Onslip360\Nil $comment = null, string|null|\Onslip360\Nil $country = null, string|null|\Onslip360\Nil $customerNumber = null, string|null|\Onslip360\Nil $deleted = null, string|null|\Onslip360\Nil $email = null, int[]|null|\Onslip360\Nil $labels = null, string|null $name = null, string|null|\Onslip360\Nil $orgNumber = null, string|null|\Onslip360\Nil $phoneNumber = null, string|null|\Onslip360\Nil $referenceName = null, string|null|\Onslip360\Nil $streetAddress = null, bool|null|\Onslip360\Nil $subscription = null, string[]|null|\Onslip360\Nil $tags = null, \Onslip360\API\Customer\Type|null|\Onslip360\Nil $type = null, string|null|\Onslip360\Nil $zipCode = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$city | string|null|\Onslip360\Nil | |
$clientReferences | string[]|null|\Onslip360\Nil | |
$comment | string|null|\Onslip360\Nil | |
$country | string|null|\Onslip360\Nil | |
$customerNumber | string|null|\Onslip360\Nil | |
$deleted | string|null|\Onslip360\Nil | |
$email | string|null|\Onslip360\Nil | |
$labels | int[]|null|\Onslip360\Nil | |
$name | string|null | |
$orgNumber | string|null|\Onslip360\Nil | |
$phoneNumber | string|null|\Onslip360\Nil | |
$referenceName | string|null|\Onslip360\Nil | |
$streetAddress | string|null|\Onslip360\Nil | |
$subscription | bool|null|\Onslip360\Nil | |
$tags | string[]|null|\Onslip360\Nil | |
$type | \Onslip360\API\Customer\Type|null|\Onslip360\Nil | |
$zipCode | string|null|\Onslip360\Nil |
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