Constructs a new OrderMessage.
Optional
properties: IOrderMessageProperties to set
Optional
contextOrderMessage contextInfo.
OrderMessage itemCount.
OrderMessage message.
OrderMessage messageVersion.
OrderMessage orderId.
Optional
orderOrderMessage orderRequestMessageId.
OrderMessage orderTitle.
OrderMessage sellerJid.
OrderMessage status.
OrderMessage surface.
OrderMessage thumbnail.
OrderMessage token.
OrderMessage totalAmount1000.
OrderMessage totalCurrencyCode.
Static
createCreates a new OrderMessage instance using the specified properties.
Optional
properties: IOrderMessageProperties to set
OrderMessage instance
Static
decodeDecodes an OrderMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
OrderMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes an OrderMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
OrderMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified OrderMessage message. Does not implicitly verify messages.
OrderMessage message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified OrderMessage message, length delimited. Does not implicitly verify messages.
OrderMessage message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates an OrderMessage message from a plain object. Also converts values to their respective internal types.
Plain object
OrderMessage
Static
toCreates a plain object from an OrderMessage message. Also converts values to other types if specified.
OrderMessage
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents an OrderMessage.