Class ProductDraftBuilder

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

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

     ProductDraft productDraft = ProductDraft.builder()
             .productType(productTypeBuilder -> productTypeBuilder)
             .name(nameBuilder -> nameBuilder)
             .slug(slugBuilder -> slugBuilder)
             .build()