Package com.thalesgroup.tpcsdk.model
Class UserDetails
- java.lang.Object
-
- com.thalesgroup.tpcsdk.model.UserDetails
-
public class UserDetails extends Object
UserDetails class represents UserAddress data required for the Google Pay push provisioningPushProvisioning.addCard(CardInfo, TPCSDKListener)The address should be provided in order to skip manual address entry. The issuer application should provide the entire address and phone number on file. Missing or invalid address information may result in the user being prompted to complete or correct the address. The address should be the correct address of the user to the best of the issuer's knowledge. Using a fake or intentionally incorrect addresses is not permitted by the Push Provisioning API terms of service.address1- Optional field. The first line of the addressaddress2- Optional field. The second line of the addresscountryCode- Optional field. The country code, if provided it shall be in 2-letter ISO-3166 format.locality- Optional field. The city or townadministrativeArea- Optional field. The state, provincename- Mandatory field. The name of the person at this address. For MasterCard, the maximum length for the name is 27 characters.phoneNumber- Optional field. The phone number associated with the cardpostalCode- Optional field. The postal code or ZIP code- Since:
- 1.0
- Version:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description UserDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress1()StringgetAddress2()StringgetAdministrativeArea()StringgetCountryCode()StringgetLocality()StringgetName()StringgetPhoneNumber()StringgetPostalCode()voidsetAddress1(String address1)voidsetAddress2(String address2)voidsetAdministrativeArea(String administrativeArea)voidsetCountryCode(String countryCode)voidsetLocality(String locality)voidsetName(String name)voidsetPhoneNumber(String phoneNumber)voidsetPostalCode(String postalCode)
-
-
-
Method Detail
-
getAddress1
public String getAddress1()
-
getAddress2
public String getAddress2()
-
getCountryCode
public String getCountryCode()
-
getLocality
public String getLocality()
-
getAdministrativeArea
public String getAdministrativeArea()
-
getName
public String getName()
-
getPhoneNumber
public String getPhoneNumber()
-
getPostalCode
public String getPostalCode()
-
setAddress1
public void setAddress1(String address1)
-
setAddress2
public void setAddress2(String address2)
-
setCountryCode
public void setCountryCode(String countryCode)
-
setLocality
public void setLocality(String locality)
-
setAdministrativeArea
public void setAdministrativeArea(String administrativeArea)
-
setName
public void setName(String name)
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
setPostalCode
public void setPostalCode(String postalCode)
-
-