Inventory
in package
Class Inventory
Tags
Table of Contents
Properties
- $available : float
- $code : string
- $purchasePrice : float
- $quantity : float
- $store : string
Methods
- __construct() : mixed
- Inventory constructor.
Properties
$available
public
float
$available
Tags
$code
public
string
$code
Tags
$purchasePrice
public
float
$purchasePrice
Tags
$quantity
public
float
$quantity
Tags
$store
public
string
$store
Tags
Methods
__construct()
Inventory constructor.
public
__construct([string $code = '' ][, float|null $available = null ][, float|null $purchasePrice = null ]) : mixed
Parameters
- $code : string = ''
- $available : float|null = null
- $purchasePrice : float|null = null