public class Phone extends Object implements Serializable
| Constructor and Description |
|---|
Phone() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Long |
getCountryCode()
International call country code.
|
String |
getDisplay()
The full national phone for display purposes.
|
String |
getDisplayInternational()
The full international phone for display purposes.
|
Boolean |
getDoNotCall()
When the indicator is marked as true, this indicates that the US phone number is listed in the National Do Not Call Registry and should not to be contacted for telemarketing purposes.
|
Long |
getExtension()
Extension.
|
Long |
getNumber()
Phone number.
|
String |
getRaw()
An unparsed phone.
|
String |
getType()
One of 'mobile’, 'home_phone’, 'home_fax’, 'work_phone’,'work_fax’ or 'pager’.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCountryCode(Long countryCode)
International call country code.
|
void |
setDisplay(String display)
The full national phone for display purposes.
|
void |
setDisplayInternational(String displayInternational)
The full international phone for display purposes.
|
void |
setDoNotCall(Boolean doNotCall)
When the indicator is marked as true, this indicates that the US phone number is listed in the National Do Not Call Registry and should not to be contacted for telemarketing purposes.
|
void |
setExtension(Long extension)
Extension.
|
void |
setNumber(Long number)
Phone number.
|
void |
setRaw(String raw)
An unparsed phone.
|
void |
setType(String type)
One of 'mobile’, 'home_phone’, 'home_fax’, 'work_phone’,'work_fax’ or 'pager’.
|
String |
toString() |
Phone |
withAdditionalProperty(String name,
Object value) |
Phone |
withCountryCode(Long countryCode) |
Phone |
withDisplay(String display) |
Phone |
withDisplayInternational(String displayInternational) |
Phone |
withDoNotCall(Boolean doNotCall) |
Phone |
withExtension(Long extension) |
Phone |
withNumber(Long number) |
Phone |
withRaw(String raw) |
Phone |
withType(String type) |
public String getType()
public void setType(String type)
public Boolean getDoNotCall()
public void setDoNotCall(Boolean doNotCall)
public Long getCountryCode()
public void setCountryCode(Long countryCode)
public Long getNumber()
public void setNumber(Long number)
public Long getExtension()
public void setExtension(Long extension)
public String getRaw()
public void setRaw(String raw)
public String getDisplay()
public void setDisplay(String display)
public String getDisplayInternational()
public void setDisplayInternational(String displayInternational)
Copyright © 2020 The Apache Software Foundation. All rights reserved.