Class CustomerCustomFieldRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerCustomFieldRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CustomerCustomFieldRemovedMessagePayload>
public class CustomerCustomFieldRemovedMessagePayloadBuilder
extends Object
implements Builder<CustomerCustomFieldRemovedMessagePayload>
CustomerCustomFieldRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerCustomFieldRemovedMessagePayload customerCustomFieldRemovedMessagePayload = CustomerCustomFieldRemovedMessagePayload.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerCustomFieldRemovedMessagePayload with checking for non-null required valuesbuilds CustomerCustomFieldRemovedMessagePayload 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 CustomerCustomFieldRemovedMessagePayloadBuilderof
(CustomerCustomFieldRemovedMessagePayload template) create builder for CustomerCustomFieldRemovedMessagePayload instance
-
Constructor Details
-
CustomerCustomFieldRemovedMessagePayloadBuilder
public CustomerCustomFieldRemovedMessagePayloadBuilder()
-
-
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 CustomerCustomFieldRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerCustomFieldRemovedMessagePayload>
- Returns:
- CustomerCustomFieldRemovedMessagePayload
-
buildUnchecked
builds CustomerCustomFieldRemovedMessagePayload without checking for non-null required values- Returns:
- CustomerCustomFieldRemovedMessagePayload
-
of
factory method for an instance of CustomerCustomFieldRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static CustomerCustomFieldRemovedMessagePayloadBuilder of(CustomerCustomFieldRemovedMessagePayload template) create builder for CustomerCustomFieldRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-