DocumentProductRecord extends Dto
FinalYes
Table of Contents
Properties
- $amount : float
- $barcode : mixed
- $basketCode : int|null
- $desktopUrl : mixed
- $documentId : int|null
- $documentType : int|null
- $gallery : mixed
- $galleryInfo : mixed
- $hasStoreFromAccess : bool
- $hasStoreToAccess : bool
- $id : int|string|null
- $measure : Measure|null
- $name : mixed
- $oldBarcode : mixed
- $price : mixed
- $productId : int|null
- $properties : mixed
- $sections : mixed
- $skuTree : mixed
- $storeFrom : Store|null
- $storeFromAmount : mixed
- $storeFromAvailableAmount : mixed
- $storeFromId : int|null
- $storeTo : Store|null
- $storeToAmount : mixed
- $storeToAvailableAmount : mixed
- $storeToId : int|null
- $type : int|null
Methods
- __construct() : mixed
- getCachedCasts() : array<string|int, mixed>
- getCasts() : array<string, Caster>
- Method returns map, where key must relate to public property, and value specifies type of this property
- jsonSerialize() : mixed
- make() : mixed
- toArray() : array<string|int, mixed>
Properties
$amount
public
float
$amount
= 0.0
$barcode
public
mixed
$barcode
$basketCode
public
int|null
$basketCode
$desktopUrl
public
mixed
$desktopUrl
$documentId
public
int|null
$documentId
$documentType
public
int|null
$documentType
$gallery
public
mixed
$gallery
= []
$galleryInfo
public
mixed
$galleryInfo
= []
$hasStoreFromAccess
public
bool
$hasStoreFromAccess
$hasStoreToAccess
public
bool
$hasStoreToAccess
$id
public
int|string|null
$id
$measure
public
Measure|null
$measure
$name
public
mixed
$name
$oldBarcode
public
mixed
$oldBarcode
$price
public
mixed
$price
$productId
public
int|null
$productId
$properties
public
mixed
$properties
= []
$sections
public
mixed
$sections
= []
$skuTree
public
mixed
$skuTree
= []
$storeFrom
public
Store|null
$storeFrom
$storeFromAmount
public
mixed
$storeFromAmount
= 0.0
$storeFromAvailableAmount
public
mixed
$storeFromAvailableAmount
= 0.0
$storeFromId
public
int|null
$storeFromId
$storeTo
public
Store|null
$storeTo
$storeToAmount
public
mixed
$storeToAmount
= 0.0
$storeToAvailableAmount
public
mixed
$storeToAvailableAmount
= 0.0
$storeToId
public
int|null
$storeToId
$type
public
int|null
$type
Tags
Methods
__construct()
public
__construct() : mixed
getCachedCasts()
public
getCachedCasts() : array<string|int, mixed>
Return values
array<string|int, mixed>getCasts()
Method returns map, where key must relate to public property, and value specifies type of this property
public
getCasts() : array<string, Caster>
Return values
array<string, Caster> —property name => typecaster object
jsonSerialize()
public
jsonSerialize() : mixed
make()
public
static make([array<string|int, mixed>|null $fields = null ]) : mixed
Parameters
- $fields : array<string|int, mixed>|null = null
toArray()
public
toArray() : array<string|int, mixed>