public class MessageRecipient extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
digipostAddress |
protected NameAndAddress |
nameAndAddress |
protected String |
organisationNumber |
protected String |
personalIdentificationNumber |
protected PrintDetails |
printDetails |
Constructor and Description |
---|
MessageRecipient() |
MessageRecipient(DigipostAddress digipostAddress) |
MessageRecipient(DigipostAddress digipostAddress,
PrintDetails printDetails) |
MessageRecipient(NameAndAddress nameAndAddress) |
MessageRecipient(NameAndAddress nameAndAddress,
PrintDetails printDetails) |
MessageRecipient(OrganisationNumber organisationNumber) |
MessageRecipient(OrganisationNumber organisationNumber,
PrintDetails printDetails) |
MessageRecipient(PersonalIdentificationNumber id) |
MessageRecipient(PersonalIdentificationNumber id,
PrintDetails printDetails) |
MessageRecipient(PrintDetails printDetails) |
Modifier and Type | Method and Description |
---|---|
String |
getDigipostAddress() |
NameAndAddress |
getNameAndAddress() |
String |
getOrganisationNumber() |
String |
getPersonalIdentificationNumber() |
PrintDetails |
getPrintDetails() |
boolean |
hasDigipostIdentification() |
boolean |
hasPrintDetails() |
boolean |
isDirectPrint() |
Identification |
toIdentification() |
protected NameAndAddress nameAndAddress
protected String digipostAddress
protected String personalIdentificationNumber
protected String organisationNumber
protected PrintDetails printDetails
public MessageRecipient()
public MessageRecipient(PersonalIdentificationNumber id)
public MessageRecipient(DigipostAddress digipostAddress)
public MessageRecipient(OrganisationNumber organisationNumber)
public MessageRecipient(NameAndAddress nameAndAddress)
public MessageRecipient(PersonalIdentificationNumber id, PrintDetails printDetails)
public MessageRecipient(DigipostAddress digipostAddress, PrintDetails printDetails)
public MessageRecipient(NameAndAddress nameAndAddress, PrintDetails printDetails)
public MessageRecipient(OrganisationNumber organisationNumber, PrintDetails printDetails)
public MessageRecipient(PrintDetails printDetails)
public NameAndAddress getNameAndAddress()
public String getDigipostAddress()
public String getPersonalIdentificationNumber()
public String getOrganisationNumber()
public PrintDetails getPrintDetails()
public boolean isDirectPrint()
public boolean hasPrintDetails()
public boolean hasDigipostIdentification()
public Identification toIdentification()
Copyright © 2015 Digipost Open Source. All rights reserved.