RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

MAFSizerBatchModel

Extends
  • BaseModel

Summary

MAFSizerBatchModel Constructor

.

Description

Model Class for a MAF Sizer Batch

Constructor

protected

new MAFSizerBatchModel(siteId)

MAFSizerBatchModel Constructor

Parameters

  • siteId number

    The Site ID associated with this MAF Sizer Batch

Source

Members

fruitSummariesArray.<{articleName: string, fruitSize: string, fruitCount: number, fruitWeight: number}>

An Array of Summary Data Objects for each Fruit Size and Article

Type

  • Array.<{articleName: string, fruitSize: string, fruitCount: number, fruitWeight: number}>

Source

Methods

static

fromJSON(json, siteId) → {MAFSizerBatchModel}

Create a new MAFSizerBatchModel 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 Batch

Returns

  • MAFSizerBatchModel

Source