Skip to main content

Stored_StockBalance


Stored_StockBalance

Properties

created

public string $created

id

public int $id

location

public int $location

updated

public string $updated

balance

public float|null $balance

deleted

public string|null $deleted

labels

public array|null $labels

quantity

public float|null $quantity

remainingPercentage

public float|null $remainingPercentage

remainingQuantity

public float|null $remainingQuantity

required

public float|null $required

reserved

public float|null $reserved

tags

public array|null $tags

updatedBy

public int|null $updatedBy

updatedFrom

public int|null $updatedFrom

Methods

__construct

public __construct(string $created, int $id, int $location, string $updated, float|null $balance = null, string|null $deleted = null, int[]|null $labels = null, float|null $quantity = null, float|null $remainingPercentage = null, float|null $remainingQuantity = null, float|null $required = null, float|null $reserved = null, string[]|null $tags = null, int|null $updatedBy = null, int|null $updatedFrom = null): mixed

Parameters:

ParameterTypeDescription
$createdstring
$idint
$locationint
$updatedstring
$balancefloat|null
$deletedstring|null
$labelsint[]|null
$quantityfloat|null
$remainingPercentagefloat|null
$remainingQuantityfloat|null
$requiredfloat|null
$reservedfloat|null
$tagsstring[]|null
$updatedByint|null
$updatedFromint|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