ProductDimensionsPhysical
extends DomainValue
in package
FinalYes
Immutable base for Inttegro domain values.
Table of Contents
Properties
- $height : float|null
- $length : float|null
- $size : float|null
- $volume : float|null
- $volumeUnit : string|null
- $weight : float|null
- $weightUnit : string|null
- $width : float|null
Methods
- __construct() : mixed
- __get() : mixed
- __isset() : bool
- fromArray() : static
- jsonSerialize() : mixed
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : array<string, mixed>
Properties
$height read-only
public
float|null
$height
$length read-only
public
float|null
$length
$size read-only
public
float|null
$size
$volume read-only
public
float|null
$volume
$volumeUnit read-only
public
string|null
$volumeUnit
$weight read-only
public
float|null
$weight
$weightUnit read-only
public
string|null
$weightUnit
$width read-only
public
float|null
$width
Methods
__construct()
public
__construct(array<string, mixed> $data) : mixed
Parameters
- $data : array<string, mixed>
__get()
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
boolfromArray()
public
static fromArray(array<string, mixed> $data) : static
Parameters
- $data : array<string, mixed>
Return values
staticjsonSerialize()
public
jsonSerialize() : mixed
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
toArray()
public
toArray() : array<string, mixed>