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