Class BusinessUnitCustomTypeRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.BusinessUnitCustomTypeRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<BusinessUnitCustomTypeRemovedMessagePayload>
public class BusinessUnitCustomTypeRemovedMessagePayloadBuilder
extends Object
implements Builder<BusinessUnitCustomTypeRemovedMessagePayload>
BusinessUnitCustomTypeRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitCustomTypeRemovedMessagePayload businessUnitCustomTypeRemovedMessagePayload = BusinessUnitCustomTypeRemovedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds BusinessUnitCustomTypeRemovedMessagePayload with checking for non-null required valuesbuilds BusinessUnitCustomTypeRemovedMessagePayload without checking for non-null required valuesid
of the Custom Type that was removed.of()
factory method for an instance of BusinessUnitCustomTypeRemovedMessagePayloadBuildercreate builder for BusinessUnitCustomTypeRemovedMessagePayload instanceid
of the Custom Type that was removed.
-
Constructor Details
-
BusinessUnitCustomTypeRemovedMessagePayloadBuilder
public BusinessUnitCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
oldTypeId
id
of the Custom Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
oldTypeId
- value to be set- Returns:
- Builder
-
getOldTypeId
id
of the Custom Type that was removed. Absent if there was no previous Custom Type present.- Returns:
- oldTypeId
-
build
builds BusinessUnitCustomTypeRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<BusinessUnitCustomTypeRemovedMessagePayload>
- Returns:
- BusinessUnitCustomTypeRemovedMessagePayload
-
buildUnchecked
builds BusinessUnitCustomTypeRemovedMessagePayload without checking for non-null required values- Returns:
- BusinessUnitCustomTypeRemovedMessagePayload
-
of
factory method for an instance of BusinessUnitCustomTypeRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static BusinessUnitCustomTypeRemovedMessagePayloadBuilder of(BusinessUnitCustomTypeRemovedMessagePayload template) create builder for BusinessUnitCustomTypeRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-