OrderProductLineItemProduct
extends DomainValue
in package
FinalYes
Immutable base for Inttegro domain values.
Table of Contents
Properties
- $about : string|null
- $category : string|null
- $customData : array<string, string>|null
- $id : string
- $name : string
- $price : Price
- $priceId : string|null
- $productId : string|null
- $quantity : int
- $reference : string|null
- $taxCode : string|null
- $type : string|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
$about read-only
public
string|null
$about
$category read-only
public
string|null
$category
$customData read-only
public
array<string, string>|null
$customData
$id read-only
public
string
$id
$name read-only
public
string
$name
$price read-only
public
Price
$price
$priceId read-only
public
string|null
$priceId
$productId read-only
public
string|null
$productId
$quantity read-only
public
int
$quantity
$reference read-only
public
string|null
$reference
$taxCode read-only
public
string|null
$taxCode
$type read-only
public
string|null
$type
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>