Table of Contents

Class MultipleItemsContentBuilder

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

Represents a builder for a Multiple Items product message content.

public class MultipleItemsContentBuilder : IBuilderForHeader, IBuilderForBody, IBuilderForFooter, IBuilderForCatalog, IBuilderForOptionalSection, IBuildable, IBuilderForMandatorySection, IBuilderForProductRetailer
Inheritance
MultipleItemsContentBuilder
Implements
Inherited Members

Methods

Build()

Builds the product message using all specified values.

public ProductMessage<MultipleItemsMessageContent> Build()

Returns

ProductMessage<MultipleItemsMessageContent>

The product message.

Initialize()

Initializes a builder.

public static IBuilderForHeader Initialize()

Returns

IBuilderForHeader

The builder.

WithBody(string)

Sets the Body.

public IBuilderForFooter WithBody(string value)

Parameters

value string

The body.

Returns

IBuilderForFooter

The builder.

WithCatalogId(string)

Sets the CatalogId.

public IBuilderForMandatorySection WithCatalogId(string value)

Parameters

value string

The catalog Id.

Returns

IBuilderForMandatorySection

The builder.

WithFooter(string)

Sets the Footer.

public IBuilderForCatalog WithFooter(string value)

Parameters

value string

The footer.

Returns

IBuilderForCatalog

The builder.

WithHeader(string)

Sets the Header.

public IBuilderForBody WithHeader(string value)

Parameters

value string

The header.

Returns

IBuilderForBody

The builder.

WithProductRetailer(string)

Sets the product retailer Id to the previous section.

public IBuilderForOptionalSection WithProductRetailer(string value)

Parameters

value string

The product retailer Id.

Returns

IBuilderForOptionalSection

The builder.

WithSection(string)

Sets a section.

public IBuilderForProductRetailer WithSection(string value)

Parameters

value string

The section.

Returns

IBuilderForProductRetailer

The builder.