no.digipost.api.client.representations
Class Message
java.lang.Object
no.digipost.api.client.representations.Message
- Direct Known Subclasses:
- Invoice
public class Message
- extends Object
Constructor Summary |
Message(String messageId,
PrintDetails printDetails)
|
Message(String messageId,
String subject,
DigipostAddress digipostAdress,
SmsNotification smsVarsling,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel)
|
Message(String messageId,
String subject,
NameAndAddress nameAndAddress,
SmsNotification smsVarsling,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel)
|
Message(String messageId,
String subject,
PersonalIdentificationNumber id,
SmsNotification smsVarsling,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel)
|
Message(String messageId,
String subject,
RecipientIdentification recipient,
SmsNotification smsVarsling,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageId
protected String messageId
senderId
protected Long senderId
preEncrypt
protected Boolean preEncrypt
subject
protected String subject
recipient
protected RecipientIdentification recipient
smsNotification
protected SmsNotification smsNotification
authenticationLevel
protected AuthenticationLevel authenticationLevel
sensitivityLevel
protected SensitivityLevel sensitivityLevel
Message
public Message(String messageId,
String subject,
PersonalIdentificationNumber id,
SmsNotification smsVarsling,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel)
Message
public Message(String messageId,
String subject,
DigipostAddress digipostAdress,
SmsNotification smsVarsling,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel)
Message
public Message(String messageId,
String subject,
NameAndAddress nameAndAddress,
SmsNotification smsVarsling,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel)
Message
public Message(String messageId,
String subject,
RecipientIdentification recipient,
SmsNotification smsVarsling,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel)
Message
public Message(String messageId,
PrintDetails printDetails)
getSubject
public String getSubject()
hasSubject
public boolean hasSubject()
getSmsNotification
public SmsNotification getSmsNotification()
getAuthenticationLevel
public AuthenticationLevel getAuthenticationLevel()
getSensitivityLevel
public SensitivityLevel getSensitivityLevel()
getRecipient
public RecipientIdentification getRecipient()
getMessageId
public String getMessageId()
isPreEncrypt
public boolean isPreEncrypt()
isSameMessageAs
public boolean isSameMessageAs(Message message)
setPreEncrypt
public void setPreEncrypt()
setSenderId
public void setSenderId(long senderId)
- Only neccessary when sending on behalf of another user. In this case
senderId must be the party you are sending on behalf of. Your own user id
should be set in the http header X-Digipost-UserId.
setPreEncrypt
public void setPreEncrypt(boolean preEncrypt)
isDirectPrint
public boolean isDirectPrint()
Copyright © 2012 Digipost Open Source. All Rights Reserved.