Constructor
protected
new FreshPackBinLotModel(siteId)
FreshPackBinLotModel Constructor
Parameters
-
siteId
number
The Site ID associated with this FreshPack Bin Lot
Source
Members
binLotCodestring
The Bin Lot Code
Type
-
string
Source
binNumbersArray.<string>
An Array of Bin Numbers for this Bin Lot
Type
-
Array.<string>
Source
binTipIdstring
The Bin Tip ID this Bin Lot is associated with
Type
-
string
Source
createdTimestampDate
When this Bin Lot was Created
Type
-
Date
Source
deletedboolean
Whether the FreshPack Bin Lot has been deleted
Type
-
boolean
Source
idstring
The FreshPack Bin Lot ID
Type
-
string
Source
packrunIdsArray.<string>
An Array of Packrun IDs associated with this Bin Lot
Type
-
Array.<string>
Source
siteIdnumber
The Site ID associated with this FreshPack Bin Lot
Type
-
number
Source
updateTimestampDate
When the FreshPack Bin Lot was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {FreshPackBinLotModel}
Create a new FreshPackBinLotModel from a JSON Object or JSON String
Parameters
-
json
Object.<string, any>
|string
A JSON Object or JSON String
-
siteId
number
The Site ID associated with this FreshPack Bin Lot
Returns
-
FreshPackBinLotModel