Class PostalAddress


  • public class PostalAddress
    extends java.lang.Object
    Represents a UK postal address
    • Constructor Summary

      Constructors 
      Constructor Description
      PostalAddress()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • recipient

        @Option(name="--recipient",
                title="Recipient",
                description="Specifies the name of the receipient")
        public java.lang.String recipient
      • houseNumber

        @Option(name="--number",
                title="HouseNumber",
                description="Specifies the house number")
        public java.lang.Integer houseNumber
      • addressLines

        @Option(name={"-a","--address","--line"},
                title="AddressLine",
                description="Specifies an address line.  Specify this multiple times to provide multiple address lines, these should be in the order they should be used.")
        public java.util.List<java.lang.String> addressLines
    • Constructor Detail

      • PostalAddress

        public PostalAddress()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object