Class DuplicateVariantValuesErrorBuilder

java.lang.Object
com.commercetools.api.models.error.DuplicateVariantValuesErrorBuilder
All Implemented Interfaces:
Builder<DuplicateVariantValuesError>

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

     DuplicateVariantValuesError duplicateVariantValuesError = DuplicateVariantValuesError.builder()
             .message("{message}")
             .variantValues(variantValuesBuilder -> variantValuesBuilder)
             .build()
 
  • Constructor Details

    • DuplicateVariantValuesErrorBuilder

      public DuplicateVariantValuesErrorBuilder()
  • Method Details