Interface Address.Builder

    • Method Detail

      • contactName

        Address.Builder contactName​(String contactName)

        The name of the contact.

        Parameters:
        contactName - The name of the contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contactPhoneNumber

        Address.Builder contactPhoneNumber​(String contactPhoneNumber)

        The phone number of the contact.

        Parameters:
        contactPhoneNumber - The phone number of the contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addressLine1

        Address.Builder addressLine1​(String addressLine1)

        The first line of the address.

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

        Address.Builder addressLine2​(String addressLine2)

        The second line of the address.

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

        Address.Builder addressLine3​(String addressLine3)

        The third line of the address.

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

        Address.Builder city​(String city)

        The city for the address.

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

        Address.Builder stateOrRegion​(String stateOrRegion)

        The state for the address.

        Parameters:
        stateOrRegion - The state for the address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • districtOrCounty

        Address.Builder districtOrCounty​(String districtOrCounty)

        The district or county for the address.

        Parameters:
        districtOrCounty - The district or county for the address.
        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 the address.

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

        Address.Builder countryCode​(String countryCode)

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

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

        Address.Builder municipality​(String municipality)

        The municipality for the address.

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