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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds CustomerGroupCustomTypeRemovedMessagePayload with checking for non-null required valuesbuilds CustomerGroupCustomTypeRemovedMessagePayload without checking for non-null required valuesidof the Custom Type that was removed.of()factory method for an instance of CustomerGroupCustomTypeRemovedMessagePayloadBuildercreate builder for CustomerGroupCustomTypeRemovedMessagePayload instanceidof the Custom Type that was removed.
-
Constructor Details
-
CustomerGroupCustomTypeRemovedMessagePayloadBuilder
public CustomerGroupCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
oldTypeId
idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
oldTypeId- value to be set- Returns:
- Builder
-
getOldTypeId
idof 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:
buildin 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
-