Constructs a new Product.
Optional
properties: IProductProperties to set
Product productId.
Static
createCreates a new Product instance using the specified properties.
Optional
properties: IProductProperties to set
Product instance
Static
decodeDecodes a Product message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
Product
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a Product message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
Product
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeStatic
encodeStatic
fromCreates a Product message from a plain object. Also converts values to their respective internal types.
Plain object
Product
Static
toCreates a plain object from a Product message. Also converts values to other types if specified.
Product
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a Product.