Class CustomerGroupCustomTypeRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerGroupCustomTypeRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CustomerGroupCustomTypeRemovedMessagePayload>
public class CustomerGroupCustomTypeRemovedMessagePayloadBuilder
extends Object
implements Builder<CustomerGroupCustomTypeRemovedMessagePayload>
CustomerGroupCustomTypeRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerGroupCustomTypeRemovedMessagePayload customerGroupCustomTypeRemovedMessagePayload = CustomerGroupCustomTypeRemovedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerGroupCustomTypeRemovedMessagePayload with checking for non-null required valuesbuilds CustomerGroupCustomTypeRemovedMessagePayload without checking for non-null required valuesid
of the Custom Type that was removed.of()
factory method for an instance of CustomerGroupCustomTypeRemovedMessagePayloadBuildercreate builder for CustomerGroupCustomTypeRemovedMessagePayload instanceid
of the Custom Type that was removed.
-
Constructor Details
-
CustomerGroupCustomTypeRemovedMessagePayloadBuilder
public CustomerGroupCustomTypeRemovedMessagePayloadBuilder()
-
-
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 CustomerGroupCustomTypeRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerGroupCustomTypeRemovedMessagePayload>
- Returns:
- CustomerGroupCustomTypeRemovedMessagePayload
-
buildUnchecked
builds CustomerGroupCustomTypeRemovedMessagePayload without checking for non-null required values- Returns:
- CustomerGroupCustomTypeRemovedMessagePayload
-
of
factory method for an instance of CustomerGroupCustomTypeRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static CustomerGroupCustomTypeRemovedMessagePayloadBuilder of(CustomerGroupCustomTypeRemovedMessagePayload template) create builder for CustomerGroupCustomTypeRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-