public class SmsReceiver extends Object
| Constructor and Description |
|---|
SmsReceiver() |
| Modifier and Type | Method and Description |
|---|---|
String |
countryCode()
Get the country code of the SMS receiver.
|
String |
name()
Get the name of the SMS receiver.
|
String |
phoneNumber()
Get the phone number of the SMS receiver.
|
ReceiverStatus |
status()
Get the status of the receiver.
|
SmsReceiver |
withCountryCode(String countryCode)
Set the country code of the SMS receiver.
|
SmsReceiver |
withName(String name)
Set the name of the SMS receiver.
|
SmsReceiver |
withPhoneNumber(String phoneNumber)
Set the phone number of the SMS receiver.
|
public String name()
public SmsReceiver withName(String name)
name - the name value to setpublic String countryCode()
public SmsReceiver withCountryCode(String countryCode)
countryCode - the countryCode value to setpublic String phoneNumber()
public SmsReceiver withPhoneNumber(String phoneNumber)
phoneNumber - the phoneNumber value to setpublic ReceiverStatus status()
Copyright © 2019. All rights reserved.