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