Interface PhoneNumberCountry.Builder

    • Method Detail

      • countryCode

        PhoneNumberCountry.Builder countryCode​(String countryCode)

        The phone number country code. Format: ISO 3166-1 alpha-2.

        Parameters:
        countryCode - The phone number country code. Format: ISO 3166-1 alpha-2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedPhoneNumberTypesWithStrings

        PhoneNumberCountry.Builder supportedPhoneNumberTypesWithStrings​(Collection<String> supportedPhoneNumberTypes)

        The supported phone number types.

        Parameters:
        supportedPhoneNumberTypes - The supported phone number types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedPhoneNumberTypesWithStrings

        PhoneNumberCountry.Builder supportedPhoneNumberTypesWithStrings​(String... supportedPhoneNumberTypes)

        The supported phone number types.

        Parameters:
        supportedPhoneNumberTypes - The supported phone number types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedPhoneNumberTypes

        PhoneNumberCountry.Builder supportedPhoneNumberTypes​(Collection<PhoneNumberType> supportedPhoneNumberTypes)

        The supported phone number types.

        Parameters:
        supportedPhoneNumberTypes - The supported phone number types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedPhoneNumberTypes

        PhoneNumberCountry.Builder supportedPhoneNumberTypes​(PhoneNumberType... supportedPhoneNumberTypes)

        The supported phone number types.

        Parameters:
        supportedPhoneNumberTypes - The supported phone number types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.