![JAR search and dependency download from the Maven repository](/logo.png)
fr.sii.ogham.sms.message.Recipient Maven / Gradle / Ivy
package fr.sii.ogham.sms.message;
public class Recipient extends Contact {
/**
* Initialize the contact with its name and its phone number.
*
* @param name
* the name of the contact
* @param phoneNumber
* the phone number for the contact
*/
public Recipient(String name, PhoneNumber phoneNumber) {
super(name, phoneNumber);
}
/**
* Initialize the contact with its name and its phone number.
*
* No name is specified.
*
*
* @param phoneNumber
* the phone number for the contact
*/
public Recipient(PhoneNumber phoneNumber) {
super(phoneNumber);
}
/**
* Initialize the contact with its name and its phone number as string.
*
* @param name
* the name of the contact
* @param phoneNumber
* the phone number for the contact as string
*/
public Recipient(String name, String phoneNumber) {
super(name, phoneNumber);
}
/**
* Initialize the contact with its phone number as string.
*
* No name is specified.
*
*
* @param phoneNumber
* the phone number for the contact
*/
public Recipient(String phoneNumber) {
super(phoneNumber);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy