Constructs a new ProductSection.
Optional
properties:
IProductSection
Properties to set
ProductSection products.
ProductSection title.
Static
create
Creates a new ProductSection instance using the specified properties.
Optional
properties:
IProductSection
Properties to set
ProductSection instance
Static
decode
Decodes a ProductSection message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
ProductSection
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a ProductSection message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ProductSection
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified ProductSection message. Does not implicitly verify messages.
ProductSection message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified ProductSection message, length delimited. Does not implicitly verify messages.
ProductSection message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a ProductSection message from a plain object. Also converts values to their respective internal types.
Plain object
ProductSection
Static
toCreates a plain object from a ProductSection message. Also converts values to other types if specified.
ProductSection
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a ProductSection.