public class Address
extends java.lang.Object
Constructor and Description |
---|
Address(java.lang.String street,
java.lang.String town,
java.lang.String postCode)
Construct an Address without country
|
Address(java.lang.String street,
java.lang.String town,
java.lang.String postCode,
java.lang.String country)
Construct an Address with full details
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Return a string representation of this object.
|
public Address(java.lang.String street, java.lang.String town, java.lang.String postCode)
public Address(java.lang.String street, java.lang.String town, java.lang.String postCode, java.lang.String country)