Interface LeadContext.Builder

  • Method Details

    • qualificationStatus

      LeadContext.Builder qualificationStatus(String qualificationStatus)

      Indicates the current qualification status of the lead, such as whether it has been qualified, disqualified, or is still under evaluation. This helps track the lead's progression through the qualification process.

      Parameters:
      qualificationStatus - Indicates the current qualification status of the lead, such as whether it has been qualified, disqualified, or is still under evaluation. This helps track the lead's progression through the qualification process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customer

      LeadContext.Builder customer(LeadCustomer customer)

      Contains detailed information about the customer associated with the lead, including company information, contact details, and other relevant customer data.

      Parameters:
      customer - Contains detailed information about the customer associated with the lead, including company information, contact details, and other relevant customer data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customer

      default LeadContext.Builder customer(Consumer<LeadCustomer.Builder> customer)

      Contains detailed information about the customer associated with the lead, including company information, contact details, and other relevant customer data.

      This is a convenience method that creates an instance of the LeadCustomer.Builder avoiding the need to create one manually via LeadCustomer.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to customer(LeadCustomer).

      Parameters:
      customer - a consumer that will call methods on LeadCustomer.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • interactions

      LeadContext.Builder interactions(Collection<LeadInteraction> interactions)

      An array of interactions that have occurred with the lead, providing a history of communications, meetings, and other engagement activities related to the lead.

      Parameters:
      interactions - An array of interactions that have occurred with the lead, providing a history of communications, meetings, and other engagement activities related to the lead.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • interactions

      LeadContext.Builder interactions(LeadInteraction... interactions)

      An array of interactions that have occurred with the lead, providing a history of communications, meetings, and other engagement activities related to the lead.

      Parameters:
      interactions - An array of interactions that have occurred with the lead, providing a history of communications, meetings, and other engagement activities related to the lead.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • interactions

      LeadContext.Builder interactions(Consumer<LeadInteraction.Builder>... interactions)

      An array of interactions that have occurred with the lead, providing a history of communications, meetings, and other engagement activities related to the lead.

      This is a convenience method that creates an instance of the LeadInteraction.Builder avoiding the need to create one manually via LeadInteraction.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to interactions(List<LeadInteraction>).

      Parameters:
      interactions - a consumer that will call methods on LeadInteraction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: