Package com.blockchyp.client.dto
Class Address
java.lang.Object
com.blockchyp.client.dto.Address
Models a physical address.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the first line of the street address.Gets the second line of the street address.getCity()Gets the city associated with the street address.Gets the ISO country code associated with the street address.floatGets the latitude component of the address's GPS coordinates.floatGets the longitude component of the address's GPS coordinates.Gets the postal code associated with the street address.Gets the state or province associated with the street address.voidsetAddress1(String value) Sets the first line of the street address.voidsetAddress2(String value) Sets the second line of the street address.voidSets the city associated with the street address.voidsetCountryCode(String value) Sets the ISO country code associated with the street address.voidsetLatitude(float value) Sets the latitude component of the address's GPS coordinates.voidsetLongitude(float value) Sets the longitude component of the address's GPS coordinates.voidsetPostalCode(String value) Sets the postal code associated with the street address.voidsetStateOrProvince(String value) Sets the state or province associated with the street address.
-
Constructor Details
-
Address
public Address()
-
-
Method Details
-
setAddress1
Sets the first line of the street address.- Parameters:
value- the first line of the street address.
-
getAddress1
Gets the first line of the street address.- Returns:
- the first line of the street address.
-
setAddress2
Sets the second line of the street address.- Parameters:
value- the second line of the street address.
-
getAddress2
Gets the second line of the street address.- Returns:
- the second line of the street address.
-
setCity
Sets the city associated with the street address.- Parameters:
value- the city associated with the street address.
-
getCity
Gets the city associated with the street address.- Returns:
- the city associated with the street address.
-
setStateOrProvince
Sets the state or province associated with the street address.- Parameters:
value- the state or province associated with the street address.
-
getStateOrProvince
Gets the state or province associated with the street address.- Returns:
- the state or province associated with the street address.
-
setPostalCode
Sets the postal code associated with the street address.- Parameters:
value- the postal code associated with the street address.
-
getPostalCode
Gets the postal code associated with the street address.- Returns:
- the postal code associated with the street address.
-
setCountryCode
Sets the ISO country code associated with the street address.- Parameters:
value- the ISO country code associated with the street address.
-
getCountryCode
Gets the ISO country code associated with the street address.- Returns:
- the ISO country code associated with the street address.
-
setLatitude
public void setLatitude(float value) Sets the latitude component of the address's GPS coordinates.- Parameters:
value- the latitude component of the address's GPS coordinates.
-
getLatitude
public float getLatitude()Gets the latitude component of the address's GPS coordinates.- Returns:
- the latitude component of the address's GPS coordinates.
-
setLongitude
public void setLongitude(float value) Sets the longitude component of the address's GPS coordinates.- Parameters:
value- the longitude component of the address's GPS coordinates.
-
getLongitude
public float getLongitude()Gets the longitude component of the address's GPS coordinates.- Returns:
- the longitude component of the address's GPS coordinates.
-