PhoneRequest

public final class PhoneRequest

The entire phone number must be represented across the three fields in this object. The entire phone number should not exceed 25 characters.

Parameters

countryCode

The numerical portion of the country code from the phone number. Do not include the leading '+' character. Special characters (\"<\", \">\", \"(\", \")\", and \"&\") entered in this field will be re-encoded.

number

The remaining digits of the phone number. Special characters (\"<\", \">\", \"(\", \")\", and \"&\") entered in this field will be re-encoded.

areaCode

The area code of the phone number. Special characters (\"<\", \">\", \"(\", \")\", and \"&\") entered in this field will be re-encoded.

Constructors

Link copied to clipboard
public PhoneRequest PhoneRequest(String countryCode, String number, String areaCode)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String areaCode
Link copied to clipboard
@Valid()
private final String countryCode
Link copied to clipboard
@Valid()
private final String number

Functions

Link copied to clipboard
public final static PhoneRequest.Builder builder()
Link copied to clipboard
public final String getAreaCode()
Link copied to clipboard
public final String getCountryCode()
Link copied to clipboard
public final String getNumber()