Class: Payload

Payload

new Payload(name, codecServiceId, codecMessageId, isForward, fields)

infra/database/models/MessagePayloadJson.js, line 26

A message payloadJson

Name Type Description
name string

The name of the message

codecServiceId number

Service identifier (aka SIN)

codecMessageId number

Message type identifier (aka MIN)

isForward boolean

Flag indicating a Forward Message

fields Array.<Object>

An array of Field objects

Methods

addField(field)

infra/database/models/MessagePayloadJson.js, line 124

Adds a field to the JSON payload (if valid)

Name Type Description
field Field

The field to add