public class NumberValidateRequest extends Object implements Serializable
| Constructor and Description |
|---|
NumberValidateRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIsoCountryCode()
(Optional) The two-character ISO country code for the country or region
where the phone number was originally registered.
|
String |
getPhoneNumber()
The phone number to get information about.
|
int |
hashCode() |
void |
setIsoCountryCode(String isoCountryCode)
(Optional) The two-character ISO country code for the country or region
where the phone number was originally registered.
|
void |
setPhoneNumber(String phoneNumber)
The phone number to get information about.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NumberValidateRequest |
withIsoCountryCode(String isoCountryCode)
(Optional) The two-character ISO country code for the country or region
where the phone number was originally registered.
|
NumberValidateRequest |
withPhoneNumber(String phoneNumber)
The phone number to get information about.
|
public String getIsoCountryCode()
public void setIsoCountryCode(String isoCountryCode)
isoCountryCode - (Optional) The two-character ISO country code for
the country or region where the phone number was originally
registered.public NumberValidateRequest withIsoCountryCode(String isoCountryCode)
Returns a reference to this object so that method calls can be chained together.
isoCountryCode - (Optional) The two-character ISO country code for
the country or region where the phone number was originally
registered.public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
phoneNumber - The phone number to get information about. The phone
number that you provide should include a country code. If the
number doesn't include a valid country code, the operation
might result in an error.public NumberValidateRequest withPhoneNumber(String phoneNumber)
Returns a reference to this object so that method calls can be chained together.
phoneNumber - The phone number to get information about. The phone
number that you provide should include a country code. If the
number doesn't include a valid country code, the operation
might result in an error.public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.