Class ProductTailoringBuilder

java.lang.Object
com.commercetools.api.models.product_tailoring.ProductTailoringBuilder
All Implemented Interfaces:
Builder<ProductTailoring>

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

     ProductTailoring productTailoring = ProductTailoring.builder()
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .store(storeBuilder -> storeBuilder)
             .product(productBuilder -> productBuilder)
             .published(true)
             .current(currentBuilder -> currentBuilder)
             .staged(stagedBuilder -> stagedBuilder)
             .hasStagedChanges(true)
             .build()