Class Address
java.lang.Object
com.gemalto.mfs.mwsdk.mobilegateway.enrollment.Address
Address indicates the detail address information of the WalletAccountData.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCity()Fetches the city of the end user address.Fetches country code.getLine1()Fetches the first line of the end user address.getLine2()Fetches the second line of the end user address.Fetches the postal code.getState()Fetches the state or province code.voidSets the city of the end user address.voidsetCountry(String country) Sets the country code.voidSets the first line of the end user address.voidSets the second line of the end user address.voidsetPostalCode(String postalCode) Sets the postal code.voidSets State or province code
-
Constructor Details
-
Address
public Address()
-
-
Method Details
-
getLine1
Fetches the first line of the end user address.- Returns:
- The first line of the end user address.
-
setLine1
Sets the first line of the end user address.- Parameters:
line1- The first line of the end user address.
-
getLine2
Fetches the second line of the end user address.- Returns:
- The second line of the end user address.
-
setLine2
Sets the second line of the end user address.- Parameters:
line2- The second line of the end user address.
-
getCity
Fetches the city of the end user address.- Returns:
- The city of the end user address.
-
setCity
Sets the city of the end user address.- Parameters:
city- The city of the end user address.
-
getState
Fetches the state or province code.- Returns:
- State or province code.
-
setState
Sets State or province code- Parameters:
state- State or province code in ISO 3166-2 format.
-
getCountry
Fetches country code.- Returns:
- The country code.
-
setCountry
Sets the country code.- Parameters:
country- The country code in ISO 3166-1 alpha-2 format.
-
getPostalCode
Fetches the postal code.- Returns:
- The postal code.
-
setPostalCode
Sets the postal code.- Parameters:
postalCode- The postal code.
-