Interface Customer.Builder

    • Method Detail

      • account

        Customer.Builder account​(Account account)

        An object that contains the customer's account details.

        Parameters:
        account - An object that contains the customer's account details.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contacts

        Customer.Builder contacts​(Collection<Contact> contacts)

        Represents the contact details for individuals associated with the customer of the Opportunity. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.

        Parameters:
        contacts - Represents the contact details for individuals associated with the customer of the Opportunity. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contacts

        Customer.Builder contacts​(Contact... contacts)

        Represents the contact details for individuals associated with the customer of the Opportunity. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.

        Parameters:
        contacts - Represents the contact details for individuals associated with the customer of the Opportunity. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contacts

        Customer.Builder contacts​(Consumer<Contact.Builder>... contacts)

        Represents the contact details for individuals associated with the customer of the Opportunity. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #contacts(List).

        Parameters:
        contacts - a consumer that will call methods on Contact.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #contacts(java.util.Collection)