Class AssociateBuilder

java.lang.Object
com.commercetools.api.models.business_unit.AssociateBuilder
All Implemented Interfaces:
Builder<Associate>

public class AssociateBuilder extends Object implements Builder<Associate>
AssociateBuilder
Example to create an instance using the builder pattern

     Associate associate = Associate.builder()
             .plusAssociateRoleAssignments(associateRoleAssignmentsBuilder -> associateRoleAssignmentsBuilder)
             .customer(customerBuilder -> customerBuilder)
             .build()
 
  • Constructor Details

    • AssociateBuilder

      public AssociateBuilder()
  • Method Details