Class ProductCatalogDataBuilder

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

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

     ProductCatalogData productCatalogData = ProductCatalogData.builder()
             .published(true)
             .current(currentBuilder -> currentBuilder)
             .staged(stagedBuilder -> stagedBuilder)
             .hasStagedChanges(true)
             .build()
 
  • Constructor Details

    • ProductCatalogDataBuilder

      public ProductCatalogDataBuilder()
  • Method Details