RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

MAFSizerPackrunSummaryModel

Extends
  • BaseModel

Summary

MAFSizerPackrunSummaryModel Constructor

.

Description

Model Class for a MAF Sizer Packrun Summary

Constructor

protected

new MAFSizerPackrunSummaryModel(siteId)

MAFSizerPackrunSummaryModel Constructor

Parameters

  • siteId number

    The Site ID associated with this MAF Sizer Packrun Summary

Source

Members

classTypeSummariesArray.<{classType: string, totals: Array.<{fruitSize: string, packType: ?string, weight: number, fruitCount: number, packCount: ?number}>}>

An Array of Packrun Summary Data Objects for each Class Type

Type

  • Array.<{classType: string, totals: Array.<{fruitSize: string, packType: ?string, weight: number, fruitCount: number, packCount: ?number}>}>

Source

Methods

static

fromJSON(json, siteId) → {MAFSizerPackrunSummaryModel}

Create a new MAFSizerPackrunSummaryModel 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 MAF Sizer Packrun Summary

Returns

  • MAFSizerPackrunSummaryModel

Source