Class CustomerCustomFieldAddedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerCustomFieldAddedMessagePayloadBuilder
- All Implemented Interfaces:
- Builder<CustomerCustomFieldAddedMessagePayload>
public class CustomerCustomFieldAddedMessagePayloadBuilder
extends Object
implements Builder<CustomerCustomFieldAddedMessagePayload>
CustomerCustomFieldAddedMessagePayloadBuilder
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     CustomerCustomFieldAddedMessagePayload customerCustomFieldAddedMessagePayload = CustomerCustomFieldAddedMessagePayload.builder()
             .name("{name}")
             .build()
 - 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()builds CustomerCustomFieldAddedMessagePayload with checking for non-null required valuesbuilds CustomerCustomFieldAddedMessagePayload 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 CustomerCustomFieldAddedMessagePayloadBuilderof(CustomerCustomFieldAddedMessagePayload template) create builder for CustomerCustomFieldAddedMessagePayload instanceThe added CustomFieldValue based on the FieldType.
- 
Constructor Details- 
CustomerCustomFieldAddedMessagePayloadBuilderpublic CustomerCustomFieldAddedMessagePayloadBuilder()
 
- 
- 
Method Details- 
nameName of the Custom Field that was added. - Parameters:
- name- value to be set
- Returns:
- Builder
 
- 
valueThe added CustomFieldValue based on the FieldType. - Parameters:
- value- value to be set
- Returns:
- Builder
 
- 
getNameName of the Custom Field that was added. - Returns:
- name
 
- 
getValueThe added CustomFieldValue based on the FieldType. - Returns:
- value
 
- 
buildbuilds CustomerCustomFieldAddedMessagePayload with checking for non-null required values- Specified by:
- buildin interface- Builder<CustomerCustomFieldAddedMessagePayload>
- Returns:
- CustomerCustomFieldAddedMessagePayload
 
- 
buildUncheckedbuilds CustomerCustomFieldAddedMessagePayload without checking for non-null required values- Returns:
- CustomerCustomFieldAddedMessagePayload
 
- 
offactory method for an instance of CustomerCustomFieldAddedMessagePayloadBuilder- Returns:
- builder
 
- 
ofpublic static CustomerCustomFieldAddedMessagePayloadBuilder of(CustomerCustomFieldAddedMessagePayload template) create builder for CustomerCustomFieldAddedMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
 
-