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