RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

PackTypeModel

Extends
  • BaseModel

Summary

PackTypeModel Constructor

.

Description

Model Class for a Pack Type

Constructor

protected

new PackTypeModel(siteId)

PackTypeModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Pack Type

Source

Members

Methods

static

fromJSON(json, siteId) → {PackTypeModel}

Create a new PackTypeModel 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 Pack Type

Returns

  • PackTypeModel

Source