Class ProductDataBuilder

java.lang.Object
com.commercetools.api.models.product.ProductDataBuilder
All Implemented Interfaces:
Builder<ProductData>

public class ProductDataBuilder extends Object implements Builder<ProductData>
ProductDataBuilder
Example to create an instance using the builder pattern

     ProductData productData = ProductData.builder()
             .name(nameBuilder -> nameBuilder)
             .plusCategories(categoriesBuilder -> categoriesBuilder)
             .slug(slugBuilder -> slugBuilder)
             .masterVariant(masterVariantBuilder -> masterVariantBuilder)
             .plusVariants(variantsBuilder -> variantsBuilder)
             .searchKeywords(searchKeywordsBuilder -> searchKeywordsBuilder)
             .build()