Phone

public final class Phone

Parameters

countryCode

The designated country calling code.

areaCode

The phone's area code.

number

The phone's local number.

extensionNumber

Optional extension number, if required to reach the hotel.

Constructors

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

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 extensionNumber
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 getExtensionNumber()
Link copied to clipboard
public final String getNumber()
Link copied to clipboard
public final Phone.Builder toBuilder()