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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidof 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 valuesidof the Address from which the Custom Type was removed.idof the Custom Type that was removed.of()factory method for an instance of BusinessUnitAddressCustomTypeRemovedMessagePayloadBuildercreate builder for BusinessUnitAddressCustomTypeRemovedMessagePayload instanceidof the Custom Type that was removed.
-
Constructor Details
-
BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder
public BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
oldTypeId
public BusinessUnitAddressCustomTypeRemovedMessagePayloadBuilder oldTypeId(@Nullable String oldTypeId) idof 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) idof the Address from which the Custom Type was removed.- Parameters:
addressId- value to be set- Returns:
- Builder
-
getOldTypeId
idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Returns:
- oldTypeId
-
getAddressId
idof the Address from which the Custom Type was removed.- Returns:
- addressId
-
build
builds BusinessUnitAddressCustomTypeRemovedMessagePayload with checking for non-null required values- Specified by:
buildin 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
-