Bitrix API

ProductRowViewModel

FinalYes

Table of Contents

Properties

$barcode  : string
$basketItemFields  : array<string|int, mixed>
$currencyId  : string
$deductedQuantity  : float|null
$gallery  : array<string|int, mixed>
$hasStoreAccess  : bool
$inputReserveQuantity  : float|null
$isDiscountEditable  : bool
$isPriceEditable  : bool
$isTaxMode  : bool
$rowReserved  : float|null
$sections  : array<string|int, mixed>
$shouldSyncReserveQuantity  : bool
$skuTree  : array<string|int, mixed>
$source  : ProductRow
$storeAmount  : float|null
$storeAvailableAmount  : float|null
$storeName  : string|null
$stores  : array<string|int, mixed>
$type  : int

Methods

__construct()  : mixed
createFromArray()  : self
getId()  : int|string
getProductId()  : int
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(ProductRow $source, string $currencyId) : mixed
Parameters
$source : ProductRow
$currencyId : string

createFromArray()

public static createFromArray(array<string|int, mixed> $fields) : self
Parameters
$fields : array<string|int, mixed>
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results