Class MessageRecipient
- java.lang.Object
-
- no.digipost.api.client.representations.MessageRecipient
-
public class MessageRecipient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
bankAccountNumber
protected java.lang.String
digipostAddress
protected NameAndAddress
nameAndAddress
protected java.lang.String
organisationNumber
protected java.lang.String
personalIdentificationNumber
protected PrintDetails
printDetails
-
Constructor Summary
Constructors Constructor Description MessageRecipient()
MessageRecipient(BankAccountNumber bankAccountNumber)
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)
-
Method Summary
Modifier and Type Method Description java.lang.String
getDigipostAddress()
NameAndAddress
getNameAndAddress()
java.lang.String
getOrganisationNumber()
java.lang.String
getPersonalIdentificationNumber()
PrintDetails
getPrintDetails()
boolean
hasDigipostIdentification()
boolean
hasPrintDetails()
boolean
isDirectPrint()
Identification
toIdentification()
-
-
-
Field Detail
-
nameAndAddress
protected NameAndAddress nameAndAddress
-
digipostAddress
protected java.lang.String digipostAddress
-
personalIdentificationNumber
protected java.lang.String personalIdentificationNumber
-
organisationNumber
protected java.lang.String organisationNumber
-
printDetails
protected PrintDetails printDetails
-
bankAccountNumber
protected java.lang.String bankAccountNumber
-
-
Constructor Detail
-
MessageRecipient
public MessageRecipient()
-
MessageRecipient
public MessageRecipient(PersonalIdentificationNumber id)
-
MessageRecipient
public MessageRecipient(BankAccountNumber bankAccountNumber)
-
MessageRecipient
public MessageRecipient(DigipostAddress digipostAddress)
-
MessageRecipient
public MessageRecipient(OrganisationNumber organisationNumber)
-
MessageRecipient
public MessageRecipient(NameAndAddress nameAndAddress)
-
MessageRecipient
public MessageRecipient(PersonalIdentificationNumber id, PrintDetails printDetails)
-
MessageRecipient
public MessageRecipient(DigipostAddress digipostAddress, PrintDetails printDetails)
-
MessageRecipient
public MessageRecipient(NameAndAddress nameAndAddress, PrintDetails printDetails)
-
MessageRecipient
public MessageRecipient(OrganisationNumber organisationNumber, PrintDetails printDetails)
-
MessageRecipient
public MessageRecipient(PrintDetails printDetails)
-
-
Method Detail
-
getNameAndAddress
public NameAndAddress getNameAndAddress()
-
getDigipostAddress
public java.lang.String getDigipostAddress()
-
getPersonalIdentificationNumber
public java.lang.String getPersonalIdentificationNumber()
-
getOrganisationNumber
public java.lang.String getOrganisationNumber()
-
getPrintDetails
public PrintDetails getPrintDetails()
-
isDirectPrint
public boolean isDirectPrint()
-
hasPrintDetails
public boolean hasPrintDetails()
-
hasDigipostIdentification
public boolean hasDigipostIdentification()
-
toIdentification
public Identification toIdentification()
-
-