1
0
Files
PayPal-PHP-Server-SDK/doc/models/phone-number.md
Patrick Powers 1fc2cf1e07 2.0.0 Release (#58)
* Automated commit message

* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2025-11-13 16:32:53 -06:00

1.0 KiB

Phone Number

The phone number in its canonical international E.164 numbering plan format., The phone number, in its canonical international E.164 numbering plan format.

Structure

PhoneNumber

Fields

Name Type Tags Description Getter Setter
nationalNumber string Required The national number, in its canonical international E.164 numbering plan format. The combined length of the country calling code (CC) and the national number must not be greater than 15 digits. The national number consists of a national destination code (NDC) and subscriber number (SN).

Constraints: Minimum Length: 1, Maximum Length: 14, Pattern: ^[0-9]{1,14}?$
getNationalNumber(): string setNationalNumber(string nationalNumber): void

Example (as JSON)

{
  "national_number": "national_number8"
}