Interface ContactInformation.Builder

    • Method Detail

      • addressLine1

        ContactInformation.Builder addressLine1​(String addressLine1)

        The first line of the primary contact address.

        Parameters:
        addressLine1 - The first line of the primary contact address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addressLine2

        ContactInformation.Builder addressLine2​(String addressLine2)

        The second line of the primary contact address, if any.

        Parameters:
        addressLine2 - The second line of the primary contact address, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addressLine3

        ContactInformation.Builder addressLine3​(String addressLine3)

        The third line of the primary contact address, if any.

        Parameters:
        addressLine3 - The third line of the primary contact address, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • city

        ContactInformation.Builder city​(String city)

        The city of the primary contact address.

        Parameters:
        city - The city of the primary contact address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • companyName

        ContactInformation.Builder companyName​(String companyName)

        The name of the company associated with the primary contact information, if any.

        Parameters:
        companyName - The name of the company associated with the primary contact information, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • countryCode

        ContactInformation.Builder countryCode​(String countryCode)

        The ISO-3166 two-letter country code for the primary contact address.

        Parameters:
        countryCode - The ISO-3166 two-letter country code for the primary contact address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • districtOrCounty

        ContactInformation.Builder districtOrCounty​(String districtOrCounty)

        The district or county of the primary contact address, if any.

        Parameters:
        districtOrCounty - The district or county of the primary contact address, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fullName

        ContactInformation.Builder fullName​(String fullName)

        The full name of the primary contact address.

        Parameters:
        fullName - The full name of the primary contact address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumber

        ContactInformation.Builder phoneNumber​(String phoneNumber)

        The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.

        Parameters:
        phoneNumber - The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • postalCode

        ContactInformation.Builder postalCode​(String postalCode)

        The postal code of the primary contact address.

        Parameters:
        postalCode - The postal code of the primary contact address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateOrRegion

        ContactInformation.Builder stateOrRegion​(String stateOrRegion)

        The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example, NJ) or the full state name (for example, New Jersey). This field is required in the following countries: US, CA, GB, DE, JP, IN, and BR.

        Parameters:
        stateOrRegion - The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example, NJ) or the full state name (for example, New Jersey). This field is required in the following countries: US, CA, GB, DE, JP, IN, and BR.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • websiteUrl

        ContactInformation.Builder websiteUrl​(String websiteUrl)

        The URL of the website associated with the primary contact information, if any.

        Parameters:
        websiteUrl - The URL of the website associated with the primary contact information, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.