Class CustomerGroupCustomFieldRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerGroupCustomFieldRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CustomerGroupCustomFieldRemovedMessagePayload>
public class CustomerGroupCustomFieldRemovedMessagePayloadBuilder
extends Object
implements Builder<CustomerGroupCustomFieldRemovedMessagePayload>
CustomerGroupCustomFieldRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerGroupCustomFieldRemovedMessagePayload customerGroupCustomFieldRemovedMessagePayload = CustomerGroupCustomFieldRemovedMessagePayload.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerGroupCustomFieldRemovedMessagePayload with checking for non-null required valuesbuilds CustomerGroupCustomFieldRemovedMessagePayload without checking for non-null required valuesgetName()
Name of the Custom Field that was removed.Name of the Custom Field that was removed.of()
factory method for an instance of CustomerGroupCustomFieldRemovedMessagePayloadBuildercreate builder for CustomerGroupCustomFieldRemovedMessagePayload instance
-
Constructor Details
-
CustomerGroupCustomFieldRemovedMessagePayloadBuilder
public CustomerGroupCustomFieldRemovedMessagePayloadBuilder()
-
-
Method Details
-
name
Name of the Custom Field that was removed.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
Name of the Custom Field that was removed.
- Returns:
- name
-
build
builds CustomerGroupCustomFieldRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerGroupCustomFieldRemovedMessagePayload>
- Returns:
- CustomerGroupCustomFieldRemovedMessagePayload
-
buildUnchecked
builds CustomerGroupCustomFieldRemovedMessagePayload without checking for non-null required values- Returns:
- CustomerGroupCustomFieldRemovedMessagePayload
-
of
factory method for an instance of CustomerGroupCustomFieldRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static CustomerGroupCustomFieldRemovedMessagePayloadBuilder of(CustomerGroupCustomFieldRemovedMessagePayload template) create builder for CustomerGroupCustomFieldRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-