Class Address

java.lang.Object
com.blockchyp.client.dto.Address

public class Address extends Object
Models a physical address.
  • Constructor Details

    • Address

      public Address()
  • Method Details

    • setAddress1

      public void setAddress1(String value)
      Sets the first line of the street address.
      Parameters:
      value - the first line of the street address.
    • getAddress1

      public String getAddress1()
      Gets the first line of the street address.
      Returns:
      the first line of the street address.
    • setAddress2

      public void setAddress2(String value)
      Sets the second line of the street address.
      Parameters:
      value - the second line of the street address.
    • getAddress2

      public String getAddress2()
      Gets the second line of the street address.
      Returns:
      the second line of the street address.
    • setCity

      public void setCity(String value)
      Sets the city associated with the street address.
      Parameters:
      value - the city associated with the street address.
    • getCity

      public String getCity()
      Gets the city associated with the street address.
      Returns:
      the city associated with the street address.
    • setStateOrProvince

      public void setStateOrProvince(String value)
      Sets the state or province associated with the street address.
      Parameters:
      value - the state or province associated with the street address.
    • getStateOrProvince

      public String getStateOrProvince()
      Gets the state or province associated with the street address.
      Returns:
      the state or province associated with the street address.
    • setPostalCode

      public void setPostalCode(String value)
      Sets the postal code associated with the street address.
      Parameters:
      value - the postal code associated with the street address.
    • getPostalCode

      public String getPostalCode()
      Gets the postal code associated with the street address.
      Returns:
      the postal code associated with the street address.
    • setCountryCode

      public void setCountryCode(String value)
      Sets the ISO country code associated with the street address.
      Parameters:
      value - the ISO country code associated with the street address.
    • getCountryCode

      public String 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.