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