Interface Address.Builder

    • Method Detail

      • city

        Address.Builder city​(String city)

        The city for this address.

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

        Address.Builder company​(String company)

        The company name for this address.

        Parameters:
        company - The company name for this address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • country

        Address.Builder country​(String country)

        The country for this address.

        Parameters:
        country - The country for this address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • emailAddress

        Address.Builder emailAddress​(String emailAddress)

        The recipient's email address.

        Parameters:
        emailAddress - The recipient's email address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Address.Builder name​(String name)

        The recipient's name for this address.

        Parameters:
        name - The recipient's name for this address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumber

        Address.Builder phoneNumber​(String phoneNumber)

        The recipient's phone number.

        Parameters:
        phoneNumber - The recipient's phone number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • postalCode

        Address.Builder postalCode​(String postalCode)

        The postal code for this address.

        Parameters:
        postalCode - The postal code for this address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateOrProvince

        Address.Builder stateOrProvince​(String stateOrProvince)

        The state or province for this address.

        Parameters:
        stateOrProvince - The state or province for this address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • street1

        Address.Builder street1​(String street1)

        The first line of the street address.

        Parameters:
        street1 - The first line of the street address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • street2

        Address.Builder street2​(String street2)

        The second line of the street address.

        Parameters:
        street2 - The second line of the street address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • street3

        Address.Builder street3​(String street3)

        The third line of the street address.

        Parameters:
        street3 - The third line of the street address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.