Class UserDetails


  • public class UserDetails
    extends Object
    UserDetails class represents UserAddress data required for the Google Pay push provisioning PushProvisioning.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 address

    address2 - Optional field. The second line of the address

    countryCode - Optional field. The country code, if provided it shall be in 2-letter ISO-3166 format.

    locality - Optional field. The city or town

    administrativeArea - Optional field. The state, province

    name - 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 card

    postalCode - Optional field. The postal code or ZIP code

    Since:
    1.0
    Version:
    1.0
    • Constructor Detail

      • UserDetails

        public UserDetails()
    • 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)