Phone

public final class Phone

The entire phone number must be represented across the three fields in this object.

Parameters

countryCode

The numerical portion of the country code from the phone number. Do not include the leading '+' character.

areaCode

The area code of the phone number.

number

The remaining digits of the phone number.

Constructors

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

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 Phone.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()