Partial_InventoryAdjustment
Partial_InventoryAdjustment
- Full name:
\Onslip360\API\Partial_InventoryAdjustment
- Parent class:
\Onslip360\Onslip360Object
Properties
deleted
public string|null|\Onslip360\Nil $deleted
items
public array|null $items
labels
public array|null|\Onslip360\Nil $labels
location
public int|null $location
tags
public array|null|\Onslip360\Nil $tags
type
public \Onslip360\API\InventoryAdjustment\Type|null $type
Methods
__construct
public __construct(string|null|\Onslip360\Nil $deleted = null, \Onslip360\API\Partial_InventoryAdjustmentItem[]|null $items = null, int[]|null|\Onslip360\Nil $labels = null, int|null $location = null, string[]|null|\Onslip360\Nil $tags = null, \Onslip360\API\InventoryAdjustment\Type|null $type = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$deleted | string|null|\Onslip360\Nil | |
$items | \Onslip360\API\Partial_InventoryAdjustmentItem[]|null | |
$labels | int[]|null|\Onslip360\Nil | |
$location | int|null | |
$tags | string[]|null|\Onslip360\Nil | |
$type | \Onslip360\API\InventoryAdjustment\Type|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