Class AssociateRoleBuyerAssignableChangedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.AssociateRoleBuyerAssignableChangedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<AssociateRoleBuyerAssignableChangedMessagePayload>
public class AssociateRoleBuyerAssignableChangedMessagePayloadBuilder
extends Object
implements Builder<AssociateRoleBuyerAssignableChangedMessagePayload>
AssociateRoleBuyerAssignableChangedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssociateRoleBuyerAssignableChangedMessagePayload associateRoleBuyerAssignableChangedMessagePayload = AssociateRoleBuyerAssignableChangedMessagePayload.builder()
.buyerAssignable(true)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds AssociateRoleBuyerAssignableChangedMessagePayload with checking for non-null required valuesbuilds AssociateRoleBuyerAssignableChangedMessagePayload without checking for non-null required valuesbuyerAssignable
(Boolean buyerAssignable) The new value of thebuyerAssignable
field of the AssociateRole.The new value of thebuyerAssignable
field of the AssociateRole.of()
factory method for an instance of AssociateRoleBuyerAssignableChangedMessagePayloadBuildercreate builder for AssociateRoleBuyerAssignableChangedMessagePayload instance
-
Constructor Details
-
AssociateRoleBuyerAssignableChangedMessagePayloadBuilder
public AssociateRoleBuyerAssignableChangedMessagePayloadBuilder()
-
-
Method Details
-
buyerAssignable
public AssociateRoleBuyerAssignableChangedMessagePayloadBuilder buyerAssignable(Boolean buyerAssignable) The new value of the
buyerAssignable
field of the AssociateRole.- Parameters:
buyerAssignable
- value to be set- Returns:
- Builder
-
getBuyerAssignable
The new value of the
buyerAssignable
field of the AssociateRole.- Returns:
- buyerAssignable
-
build
builds AssociateRoleBuyerAssignableChangedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<AssociateRoleBuyerAssignableChangedMessagePayload>
- Returns:
- AssociateRoleBuyerAssignableChangedMessagePayload
-
buildUnchecked
builds AssociateRoleBuyerAssignableChangedMessagePayload without checking for non-null required values- Returns:
- AssociateRoleBuyerAssignableChangedMessagePayload
-
of
factory method for an instance of AssociateRoleBuyerAssignableChangedMessagePayloadBuilder- Returns:
- builder
-
of
public static AssociateRoleBuyerAssignableChangedMessagePayloadBuilder of(AssociateRoleBuyerAssignableChangedMessagePayload template) create builder for AssociateRoleBuyerAssignableChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-