Class CustomFieldNumberTypeBuilder
java.lang.Object
com.commercetools.api.models.type.CustomFieldNumberTypeBuilder
- All Implemented Interfaces:
Builder<CustomFieldNumberType>
CustomFieldNumberTypeBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomFieldNumberType customFieldNumberType = CustomFieldNumberType.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomFieldNumberType with checking for non-null required valuesbuilds CustomFieldNumberType without checking for non-null required valuesstatic CustomFieldNumberTypeBuilder
of()
factory method for an instance of CustomFieldNumberTypeBuilderstatic CustomFieldNumberTypeBuilder
of
(CustomFieldNumberType template) create builder for CustomFieldNumberType instance
-
Constructor Details
-
CustomFieldNumberTypeBuilder
public CustomFieldNumberTypeBuilder()
-
-
Method Details
-
build
builds CustomFieldNumberType with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomFieldNumberType>
- Returns:
- CustomFieldNumberType
-
buildUnchecked
builds CustomFieldNumberType without checking for non-null required values- Returns:
- CustomFieldNumberType
-
of
factory method for an instance of CustomFieldNumberTypeBuilder- Returns:
- builder
-
of
create builder for CustomFieldNumberType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-