Table of Contents

Class Section

Namespace
Vonage.Messages.WhatsApp.ProductMessages.MultipleItems
Assembly
Vonage.dll

Represents a section of items grouped by title.

public record Section : IEquatable<Section>
Inheritance
Section
Implements
Inherited Members

Constructors

Section(string, params ProductItem[])

Represents a section of items grouped by title.

public Section(string Title, params ProductItem[] ProductItems)

Parameters

Title string

The title of the sections.

ProductItems ProductItem[]

The product items of the section.

Properties

ProductItems

The product items of the section.

[JsonPropertyOrder(1)]
public ProductItem[] ProductItems { get; init; }

Property Value

ProductItem[]

Title

The title of the sections.

[JsonPropertyOrder(0)]
public string Title { get; init; }

Property Value

string