Class BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<BusinessUnitAddressCustomTypeRemovedMessagePayload>
public class BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder
extends Object
implements Builder<BusinessUnitAddressCustomTypeRemovedMessagePayload>
BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitAddressCustomTypeRemovedMessagePayload businessUnitAddressCustomTypeRemovedMessagePayload = BusinessUnitAddressCustomTypeRemovedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid
of the Address from which the Custom Type was removed.build()
builds BusinessUnitAddressCustomTypeRemovedMessagePayload with checking for non-null required valuesbuilds BusinessUnitAddressCustomTypeRemovedMessagePayload without checking for non-null required valuesid
of the Address from which the Custom Type was removed.id
of the Custom Type that was removed.of()
factory method for an instance of BusinessUnitAddressCustomTypeRemovedMessagePayloadBuildercreate builder for BusinessUnitAddressCustomTypeRemovedMessagePayload instanceid
of the Custom Type that was removed.
-
Constructor Details
-
BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder
public BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
oldTypeId
public BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder oldTypeId(@Nullable String oldTypeId) id
of the Custom Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
oldTypeId
- value to be set- Returns:
- Builder
-
addressId
public BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder addressId(@Nullable String addressId) id
of the Address from which the Custom Type was removed.- Parameters:
addressId
- value to be set- Returns:
- Builder
-
getOldTypeId
id
of the Custom Type that was removed. Absent if there was no previous Custom Type present.- Returns:
- oldTypeId
-
getAddressId
id
of the Address from which the Custom Type was removed.- Returns:
- addressId
-
build
builds BusinessUnitAddressCustomTypeRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<BusinessUnitAddressCustomTypeRemovedMessagePayload>
- Returns:
- BusinessUnitAddressCustomTypeRemovedMessagePayload
-
buildUnchecked
builds BusinessUnitAddressCustomTypeRemovedMessagePayload without checking for non-null required values- Returns:
- BusinessUnitAddressCustomTypeRemovedMessagePayload
-
of
factory method for an instance of BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder of(BusinessUnitAddressCustomTypeRemovedMessagePayload template) create builder for BusinessUnitAddressCustomTypeRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-