Constructs a new InvoiceMessage.
Optional
properties: IInvoiceMessageProperties to set
InvoiceMessage attachmentDirectPath.
InvoiceMessage attachmentFileEncSha256.
InvoiceMessage attachmentFileSha256.
InvoiceMessage attachmentJpegThumbnail.
InvoiceMessage attachmentMediaKey.
InvoiceMessage attachmentMediaKeyTimestamp.
InvoiceMessage attachmentMimetype.
InvoiceMessage attachmentType.
InvoiceMessage note.
InvoiceMessage token.
Static
createCreates a new InvoiceMessage instance using the specified properties.
Optional
properties: IInvoiceMessageProperties to set
InvoiceMessage instance
Static
decodeDecodes an InvoiceMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
InvoiceMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes an InvoiceMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
InvoiceMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified InvoiceMessage message. Does not implicitly verify messages.
InvoiceMessage message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified InvoiceMessage message, length delimited. Does not implicitly verify messages.
InvoiceMessage message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates an InvoiceMessage message from a plain object. Also converts values to their respective internal types.
Plain object
InvoiceMessage
Static
toCreates a plain object from an InvoiceMessage message. Also converts values to other types if specified.
InvoiceMessage
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents an InvoiceMessage.