Interface PhoneNumber.Builder

    • Method Detail

      • value

        PhoneNumber.Builder value​(String value)

        A string containing a phone number. For example, "8675309" or "+1 (800) 123-4567".

        Parameters:
        value - A string containing a phone number. For example, "8675309" or "+1 (800) 123-4567".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        PhoneNumber.Builder type​(String type)

        A string representing the type of a phone number. For example, "Mobile."

        Parameters:
        type - A string representing the type of a phone number. For example, "Mobile."
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • primary

        PhoneNumber.Builder primary​(Boolean primary)

        A Boolean value representing whether this is the primary phone number for the associated resource.

        Parameters:
        primary - A Boolean value representing whether this is the primary phone number for the associated resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.