Package money.zumo.zumokit
Class Address
- java.lang.Object
-
- money.zumo.zumokit.Address
-
public final class Address extends java.lang.Object
Record describing user address details
-
-
Constructor Summary
Constructors Constructor Description Address(java.lang.String houseNumber, java.lang.String addressLine1, java.lang.String addressLine2, java.lang.String country, java.lang.String postCode, java.lang.String postTown)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAddressLine1()
First line of address.java.lang.String
getAddressLine2()
Second line of address or null.java.lang.String
getCountry()
Country code in ISO 3166-1 Alpha-2 format, e.g.java.lang.String
getHouseNumber()
House number.java.lang.String
getPostCode()
Post code.java.lang.String
getPostTown()
Post townint
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getHouseNumber
public java.lang.String getHouseNumber()
House number.
-
getAddressLine1
public java.lang.String getAddressLine1()
First line of address.
-
getAddressLine2
public java.lang.String getAddressLine2()
Second line of address or null.
-
getCountry
public java.lang.String getCountry()
Country code in ISO 3166-1 Alpha-2 format, e.g. 'GB'.
-
getPostCode
public java.lang.String getPostCode()
Post code.
-
getPostTown
public java.lang.String getPostTown()
Post town
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-