Class Phone.PhoneBuilder

  • Enclosing class:
    Phone

    public static class Phone.PhoneBuilder
    extends java.lang.Object
    • Method Detail

      • countryCode

        public Phone.PhoneBuilder countryCode​(CountryCode countryCode)
        The international dialing code for the account holder's address country, as an ITU-T E.164 code. [Required] [ 1 .. 7 ] characters
        Returns:
        this.
      • number

        public Phone.PhoneBuilder number​(java.lang.String number)
        The digits for the phone number, not including the country_code. [Required] [ 6 .. 25 ] characters
        Returns:
        this.
      • build

        public Phone build()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object