Class AssociateRoleChangeBuyerAssignableActionBuilder
java.lang.Object
com.commercetools.api.models.associate_role.AssociateRoleChangeBuyerAssignableActionBuilder
- All Implemented Interfaces:
Builder<AssociateRoleChangeBuyerAssignableAction>
public class AssociateRoleChangeBuyerAssignableActionBuilder
extends Object
implements Builder<AssociateRoleChangeBuyerAssignableAction>
AssociateRoleChangeBuyerAssignableActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssociateRoleChangeBuyerAssignableAction associateRoleChangeBuyerAssignableAction = AssociateRoleChangeBuyerAssignableAction.builder()
.buyerAssignable(true)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds AssociateRoleChangeBuyerAssignableAction with checking for non-null required valuesbuilds AssociateRoleChangeBuyerAssignableAction 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 AssociateRoleChangeBuyerAssignableActionBuilderof
(AssociateRoleChangeBuyerAssignableAction template) create builder for AssociateRoleChangeBuyerAssignableAction instance
-
Constructor Details
-
AssociateRoleChangeBuyerAssignableActionBuilder
public AssociateRoleChangeBuyerAssignableActionBuilder()
-
-
Method Details
-
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 AssociateRoleChangeBuyerAssignableAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<AssociateRoleChangeBuyerAssignableAction>
- Returns:
- AssociateRoleChangeBuyerAssignableAction
-
buildUnchecked
builds AssociateRoleChangeBuyerAssignableAction without checking for non-null required values- Returns:
- AssociateRoleChangeBuyerAssignableAction
-
of
factory method for an instance of AssociateRoleChangeBuyerAssignableActionBuilder- Returns:
- builder
-
of
public static AssociateRoleChangeBuyerAssignableActionBuilder of(AssociateRoleChangeBuyerAssignableAction template) create builder for AssociateRoleChangeBuyerAssignableAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-