Class Address
- java.lang.Object
-
- com.gemalto.mfs.mwsdk.mobilegateway.enrollment.Address
-
public class Address extends java.lang.ObjectAddress 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.StringgetCity()Fetch the city of the user address.java.lang.StringgetCountry()Fetch country code.java.lang.StringgetLine1()Fetch the first line of the user address.java.lang.StringgetLine2()Fetch the second line of the user address.java.lang.StringgetPostalCode()Fetch the postal code.java.lang.StringgetState()Fetch State or province code.voidsetCity(java.lang.String city)Set the city of the user address.voidsetCountry(java.lang.String country)Set country code.voidsetLine1(java.lang.String line1)Set the first line of the user address.voidsetLine2(java.lang.String line2)Set the second line of the user address.voidsetPostalCode(java.lang.String postalCode)Set the postal code.voidsetState(java.lang.String state)Set State or province code
-
-
-
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.
-
-