Constructor
protected
new RejectBinModel(siteId)
RejectBinModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Reject Bin
Source
Members
createdTimestampDate
When this Reject Bin was Created
Type
-
Date
Source
deletedboolean
Whether the Reject Bin has been deleted
Type
-
boolean
Source
nullable
finalizedTimestampDate
When this Reject Bin was Finalized (No new Weights)
Type
-
Date
Source
freshPackMultiGrowerBinsArray.<{classType: string, binNumber: ?string, printBinCard: boolean, binNumberApi: ?{requestCount: number, requestTimestamp: ?Date, responseCode: ?number, responseMessage: ?string, completed: boolean}, binCardApi: ?{requestCount: number, requestTimestamp: ?Date, responseCode: ?number, responseMessage: ?string, completed: boolean}}>
The Multi-Grower Bins that will be submitted to FreshPack
Type
-
Array.<{classType: string, binNumber: ?string, printBinCard: boolean, binNumberApi: ?{requestCount: number, requestTimestamp: ?Date, responseCode: ?number, responseMessage: ?string, completed: boolean}, binCardApi: ?{requestCount: number, requestTimestamp: ?Date, responseCode: ?number, responseMessage: ?string, completed: boolean}}>
Source
idstring
The Reject Bin ID
Type
-
string
Source
rejectBinScaleIdstring
The Reject Bin Scale ID this Reject Bin is associated with
Type
-
string
Source
rejectBinScaleNamestring
The Name of the Reject Bin Scale where this Bin was Created
Type
-
string
Source
siteIdnumber
The Site ID associated with this Reject Bin
Type
-
number
Source
nullable
tareWeightnumber
The Tare Weight Captured by the Reject Bin Scale
Type
-
number
Source
updateTimestampDate
When the Reject Bin was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {RejectBinModel}
Create a new RejectBinModel 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 Reject Bin
Returns
-
RejectBinModel