Class: Message

remotemessage.Message()

new Message()

Source:

Methods

(static) Message#getMessageId() → {String}

Get the field value The business message id for this message. This can be used to set the 'sourceMessageId' for meesages that are 'caused' by this message. This may be null.
Source:
Returns:
Type
String

(static) Message#getMethod() → {remotemessage.Method}

Get the field value The list of message types
Source:
Returns:
Type
remotemessage.Method

(static) Message#getSourceMessageId() → {String}

Get the field value The remote message id that 'caused' this message to be sent. This may not be set.
Source:
Returns:
Type
String

(static) Message#getVersion() → {Number|Null}

Get the field value The version of this message
Source:
Returns:
must be an integer,
Type
Number | Null

(static) Message#setMessageId(messageId)

Set the field value The business message id for this message. This can be used to set the 'sourceMessageId' for meesages that are 'caused' by this message. This may be null.
Parameters:
Name Type Description
messageId String
Source:

(static) Message#setMethod(method)

Set the field value The list of message types
Parameters:
Name Type Description
method remotemessage.Method
Source:

(static) Message#setSourceMessageId(sourceMessageId)

Set the field value The remote message id that 'caused' this message to be sent. This may not be set.
Parameters:
Name Type Description
sourceMessageId String
Source:

(static) Message#setVersion(version)

Set the field value The version of this message
Parameters:
Name Type Description
version Number | Null must be an integer,
Source: