Class PostalAddress
- java.lang.Object
-
- com.github.rvesse.airline.examples.sendit.PostalAddress
-
public class PostalAddress extends java.lang.Object
Represents a UK postal address
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.lang.String>
addressLines
java.lang.String
houseName
java.lang.Integer
houseNumber
java.lang.String
postCode
java.lang.String
recipient
-
Constructor Summary
Constructors Constructor Description PostalAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
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
-
houseName
@Option(name="--name", title="HouseName", description="Specifies the house name") public java.lang.String houseName
-
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
-
postCode
@Option(name="--postcode", title="PostCode", description="Specifies the postcode") public java.lang.String postCode
-
-