no.digipost.api.client.representations
Class PrintRecipient

java.lang.Object
  extended by no.digipost.api.client.representations.PrintRecipient

public class PrintRecipient
extends Object


Field Summary
protected  ForeignAddress foreignAddress
           
protected  String name
           
protected  NorwegianAddress norwegianAddress
           
 
Constructor Summary
PrintRecipient()
           
PrintRecipient(String name, ForeignAddress foreignAddress)
           
PrintRecipient(String name, NorwegianAddress norwegianAddress)
           
 
Method Summary
 ForeignAddress getForeignAddress()
           
 String getName()
           
 NorwegianAddress getNorwegianAddress()
           
 boolean isSameRecipientAs(PrintRecipient other)
           
 void setName(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

norwegianAddress

protected NorwegianAddress norwegianAddress

foreignAddress

protected ForeignAddress foreignAddress
Constructor Detail

PrintRecipient

public PrintRecipient()

PrintRecipient

public PrintRecipient(String name,
                      NorwegianAddress norwegianAddress)

PrintRecipient

public PrintRecipient(String name,
                      ForeignAddress foreignAddress)
Method Detail

getName

public String getName()

getNorwegianAddress

public NorwegianAddress getNorwegianAddress()

getForeignAddress

public ForeignAddress getForeignAddress()

setName

public void setName(String value)

isSameRecipientAs

public boolean isSameRecipientAs(PrintRecipient other)


Copyright © 2012 Digipost Open Source. All Rights Reserved.