Constructs a new ProductSnapshot.
Optional
properties: IProductSnapshotProperties to set
ProductSnapshot currencyCode.
ProductSnapshot description.
ProductSnapshot firstImageId.
ProductSnapshot priceAmount1000.
ProductSnapshot productId.
Optional
productProductSnapshot productImage.
ProductSnapshot productImageCount.
ProductSnapshot retailerId.
ProductSnapshot salePriceAmount1000.
ProductSnapshot title.
ProductSnapshot url.
Static
createCreates a new ProductSnapshot instance using the specified properties.
Optional
properties: IProductSnapshotProperties to set
ProductSnapshot instance
Static
decodeDecodes a ProductSnapshot message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
ProductSnapshot
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a ProductSnapshot message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ProductSnapshot
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified ProductSnapshot message. Does not implicitly verify messages.
ProductSnapshot message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified ProductSnapshot message, length delimited. Does not implicitly verify messages.
ProductSnapshot message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a ProductSnapshot message from a plain object. Also converts values to their respective internal types.
Plain object
ProductSnapshot
Static
toCreates a plain object from a ProductSnapshot message. Also converts values to other types if specified.
ProductSnapshot
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a ProductSnapshot.