Interface CustomerAccountData.Builder

  • Method Details

    • companyName

      CustomerAccountData.Builder companyName(String companyName)

      The name of the customer company.

      Parameters:
      companyName - The name of the customer company.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • websiteUrl

      CustomerAccountData.Builder websiteUrl(String websiteUrl)

      The website URL of the customer company.

      Parameters:
      websiteUrl - The website URL of the customer company.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duns

      The Data Universal Numbering System (DUNS) number of the customer company.

      Parameters:
      duns - The Data Universal Numbering System (DUNS) number of the customer company.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • address

      The address of the customer company.

      Parameters:
      address - The address of the customer company.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • address

      The address of the customer company.

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

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

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

      CustomerAccountData.Builder industry(String industry)

      The industry of the customer company.

      Parameters:
      industry - The industry of the customer company.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • otherIndustry

      CustomerAccountData.Builder otherIndustry(String otherIndustry)

      A description of the industry, used when the industry is Other.

      Parameters:
      otherIndustry - A description of the industry, used when the industry is Other.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domain

      The internet domain of the customer company, such as example.com.

      Parameters:
      domain - The internet domain of the customer company, such as example.com.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentCompanyName

      CustomerAccountData.Builder parentCompanyName(String parentCompanyName)

      The name of the parent company of the customer company, if any.

      Parameters:
      parentCompanyName - The name of the parent company of the customer company, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.