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