Class AttributeMoneyTypeBuilder

java.lang.Object
com.commercetools.importapi.models.producttypes.AttributeMoneyTypeBuilder
All Implemented Interfaces:
Builder<AttributeMoneyType>

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

     AttributeMoneyType attributeMoneyType = AttributeMoneyType.builder()
             .build()
 
  • Constructor Details

    • AttributeMoneyTypeBuilder

      public AttributeMoneyTypeBuilder()
  • Method Details

    • build

      public AttributeMoneyType build()
      builds AttributeMoneyType with checking for non-null required values
      Specified by:
      build in interface Builder<AttributeMoneyType>
      Returns:
      AttributeMoneyType
    • buildUnchecked

      public AttributeMoneyType buildUnchecked()
      builds AttributeMoneyType without checking for non-null required values
      Returns:
      AttributeMoneyType
    • of

      public static AttributeMoneyTypeBuilder of()
      factory method for an instance of AttributeMoneyTypeBuilder
      Returns:
      builder
    • of

      public static AttributeMoneyTypeBuilder of(AttributeMoneyType template)
      create builder for AttributeMoneyType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder