Interface Customer.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Customer.Builder,Customer>, SdkBuilder<Customer.Builder,Customer>, SdkPojo
Enclosing class:
Customer

@Mutable @NotThreadSafe public static interface Customer.Builder extends SdkPojo, CopyableBuilder<Customer.Builder,Customer>
  • Method Details

    • 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.
    • account

      default Customer.Builder account(Consumer<Account.Builder> account)

      An object that contains the customer's account details.

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

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

      Parameters:
      account - a consumer that will call methods on Account.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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<Contact>).

      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: