Constructs a new OrderMessage.
Optional
properties:
IOrderMessage
Properties to set
Optional
contextOrderMessage contextInfo.
OrderMessage itemCount.
OrderMessage message.
OrderMessage orderId.
OrderMessage orderTitle.
OrderMessage sellerJid.
OrderMessage status.
OrderMessage surface.
OrderMessage thumbnail.
OrderMessage token.
OrderMessage totalAmount1000.
OrderMessage totalCurrencyCode.
Static
create
Creates a new OrderMessage instance using the specified properties.
Optional
properties:
IOrderMessage
Properties to set
OrderMessage instance
Static
decode
Decodes an OrderMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message 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
encode
Encodes the specified OrderMessage message. Does not implicitly verify messages.
OrderMessage message or plain object to encode
Optional
writer:
Writer
Writer 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:
Writer
Writer 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:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents an OrderMessage.