Class Address


  • public class Address
    extends java.lang.Object
    Address indicates the detail address information of the WalletAccountData.
    • Constructor Summary

      Constructors 
      Constructor Description
      Address()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCity()
      Fetch the city of the user address.
      java.lang.String getCountry()
      Fetch country code.
      java.lang.String getLine1()
      Fetch the first line of the user address.
      java.lang.String getLine2()
      Fetch the second line of the user address.
      java.lang.String getPostalCode()
      Fetch the postal code.
      java.lang.String getState()
      Fetch State or province code.
      void setCity​(java.lang.String city)
      Set the city of the user address.
      void setCountry​(java.lang.String country)
      Set country code.
      void setLine1​(java.lang.String line1)
      Set the first line of the user address.
      void setLine2​(java.lang.String line2)
      Set the second line of the user address.
      void setPostalCode​(java.lang.String postalCode)
      Set the postal code.
      void setState​(java.lang.String state)
      Set State or province code
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Address

        public Address()
    • Method Detail

      • getLine1

        public java.lang.String getLine1()
        Fetch the first line of the user address.
        Returns:
        the first line of the user address.
      • setLine1

        public void setLine1​(java.lang.String line1)
        Set the first line of the user address.
        Parameters:
        line1 - the first line of the user address.
      • getLine2

        public java.lang.String getLine2()
        Fetch the second line of the user address.
        Returns:
        the second line of the user address.
      • setLine2

        public void setLine2​(java.lang.String line2)
        Set the second line of the user address.
        Parameters:
        line2 - the second line of the user address.
      • getCity

        public java.lang.String getCity()
        Fetch the city of the user address.
        Returns:
        the city of the user address.
      • setCity

        public void setCity​(java.lang.String city)
        Set the city of the user address.
        Parameters:
        city - the city of the user address.
      • getState

        public java.lang.String getState()
        Fetch State or province code.
        Returns:
        State or province code.
      • setState

        public void setState​(java.lang.String state)
        Set State or province code
        Parameters:
        state - State or province code in ISO 3166-2 format.
      • getCountry

        public java.lang.String getCountry()
        Fetch country code.
        Returns:
        country code.
      • setCountry

        public void setCountry​(java.lang.String country)
        Set country code.
        Parameters:
        country - country code in ISO 3166-1 alpha-2 format.
      • getPostalCode

        public java.lang.String getPostalCode()
        Fetch the postal code.
        Returns:
        the postal code.
      • setPostalCode

        public void setPostalCode​(java.lang.String postalCode)
        Set the postal code.
        Parameters:
        postalCode - the postal code.