Class CustomerGroupCustomFieldAddedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerGroupCustomFieldAddedMessagePayloadBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<CustomerGroupCustomFieldAddedMessagePayload>
public class CustomerGroupCustomFieldAddedMessagePayloadBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<CustomerGroupCustomFieldAddedMessagePayload>
CustomerGroupCustomFieldAddedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerGroupCustomFieldAddedMessagePayload customerGroupCustomFieldAddedMessagePayload = CustomerGroupCustomFieldAddedMessagePayload.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerGroupCustomFieldAddedMessagePayload with checking for non-null required valuesbuilds CustomerGroupCustomFieldAddedMessagePayload without checking for non-null required valuesgetName()
Name of the Custom Field that was added.getValue()
The added CustomFieldValue based on the FieldType.Name of the Custom Field that was added.of()
factory method for an instance of CustomerGroupCustomFieldAddedMessagePayloadBuildercreate builder for CustomerGroupCustomFieldAddedMessagePayload instanceThe added CustomFieldValue based on the FieldType.
-
Constructor Details
-
CustomerGroupCustomFieldAddedMessagePayloadBuilder
public CustomerGroupCustomFieldAddedMessagePayloadBuilder()
-
-
Method Details
-
name
Name of the Custom Field that was added.
- Parameters:
name
- value to be set- Returns:
- Builder
-
value
The added CustomFieldValue based on the FieldType.
- Parameters:
value
- value to be set- Returns:
- Builder
-
getName
Name of the Custom Field that was added.
- Returns:
- name
-
getValue
The added CustomFieldValue based on the FieldType.
- Returns:
- value
-
build
builds CustomerGroupCustomFieldAddedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<CustomerGroupCustomFieldAddedMessagePayload>
- Returns:
- CustomerGroupCustomFieldAddedMessagePayload
-
buildUnchecked
builds CustomerGroupCustomFieldAddedMessagePayload without checking for non-null required values- Returns:
- CustomerGroupCustomFieldAddedMessagePayload
-
of
factory method for an instance of CustomerGroupCustomFieldAddedMessagePayloadBuilder- Returns:
- builder
-
of
public static CustomerGroupCustomFieldAddedMessagePayloadBuilder of(CustomerGroupCustomFieldAddedMessagePayload template) create builder for CustomerGroupCustomFieldAddedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-