Interface BusinessUnitConfiguration


public interface BusinessUnitConfiguration
BusinessUnitConfiguration
Example to create an instance using the builder pattern

     BusinessUnitConfiguration businessUnitConfiguration = BusinessUnitConfiguration.builder()
             .myBusinessUnitStatusOnCreation(BusinessUnitConfigurationStatus.ACTIVE)
             .build()
 
  • Method Details

    • getMyBusinessUnitStatusOnCreation

      @NotNull @NotNull BusinessUnitConfigurationStatus getMyBusinessUnitStatusOnCreation()

      Status of Business Units created using the My Business Unit endpoint.

      Returns:
      myBusinessUnitStatusOnCreation
    • getMyBusinessUnitAssociateRoleOnCreation

      @Valid @Valid AssociateRoleKeyReference getMyBusinessUnitAssociateRoleOnCreation()

      Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.

      Returns:
      myBusinessUnitAssociateRoleOnCreation
    • setMyBusinessUnitStatusOnCreation

      void setMyBusinessUnitStatusOnCreation(BusinessUnitConfigurationStatus myBusinessUnitStatusOnCreation)

      Status of Business Units created using the My Business Unit endpoint.

      Parameters:
      myBusinessUnitStatusOnCreation - value to be set
    • setMyBusinessUnitAssociateRoleOnCreation

      void setMyBusinessUnitAssociateRoleOnCreation(AssociateRoleKeyReference myBusinessUnitAssociateRoleOnCreation)

      Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.

      Parameters:
      myBusinessUnitAssociateRoleOnCreation - value to be set
    • of

      factory method
      Returns:
      instance of BusinessUnitConfiguration
    • of

      factory method to create a shallow copy BusinessUnitConfiguration
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of BusinessUnitConfiguration
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for BusinessUnitConfiguration
      Returns:
      builder
    • builder

      create builder for BusinessUnitConfiguration instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withBusinessUnitConfiguration

      default <T> T withBusinessUnitConfiguration(Function<BusinessUnitConfiguration,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitConfiguration> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference