|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.api.openidconnect.Userinfo
public class Userinfo
| Constructor Summary | |
|---|---|
Userinfo()
Default Constructor |
|
| Method Summary | |
|---|---|
String |
getAccountType()
Getter for accountType |
Address |
getAddress()
Getter for address |
String |
getAgeRange()
Getter for ageRange |
String |
getBirthdate()
Getter for birthdate |
String |
getEmail()
Getter for email |
Boolean |
getEmailVerified()
Getter for emailVerified |
String |
getFamilyName()
Getter for familyName |
String |
getGender()
Getter for gender |
String |
getGivenName()
Getter for givenName |
static String |
getLastRequest()
Returns the last request sent to the Service |
static String |
getLastResponse()
Returns the last response returned by the Service |
String |
getLocale()
Getter for locale |
String |
getMiddleName()
Getter for middleName |
String |
getName()
Getter for name |
String |
getPayerId()
Getter for payerId |
String |
getPhoneNumber()
Getter for phoneNumber |
String |
getPicture()
Getter for picture |
String |
getSub()
Getter for sub |
String |
getUserId()
Getter for userId |
static Userinfo |
getUserinfo(APIContext apiContext,
UserinfoParameters userinfoParameters)
Returns user details |
static Userinfo |
getUserinfo(UserinfoParameters userinfoParameters)
Returns user details |
Boolean |
getVerifiedAccount()
Getter for verifiedAccount |
String |
getZoneinfo()
Getter for zoneinfo |
static void |
initConfig(File file)
Initialize using a File(Properties file) |
static void |
initConfig(InputStream is)
Initialize using InputStream(of a Properties file) |
static void |
initConfig(Properties properties)
Initialize using Properties |
void |
setAccountType(String accountType)
Setter for accountType |
void |
setAddress(Address address)
Setter for address |
void |
setAgeRange(String ageRange)
Setter for ageRange |
void |
setBirthdate(String birthdate)
Setter for birthdate |
void |
setEmail(String email)
Setter for email |
void |
setEmailVerified(Boolean emailVerified)
Setter for emailVerified |
void |
setFamilyName(String familyName)
Setter for familyName |
void |
setGender(String gender)
Setter for gender |
void |
setGivenName(String givenName)
Setter for givenName |
void |
setLocale(String locale)
Setter for locale |
void |
setMiddleName(String middleName)
Setter for middleName |
void |
setName(String name)
Setter for name |
void |
setPayerId(String payerId)
Setter for payerId |
void |
setPhoneNumber(String phoneNumber)
Setter for phoneNumber |
void |
setPicture(String picture)
Setter for picture |
void |
setSub(String sub)
Setter for sub |
void |
setUserId(String userId)
Setter for userId |
void |
setVerifiedAccount(Boolean verifiedAccount)
Setter for verifiedAccount |
void |
setZoneinfo(String zoneinfo)
Setter for zoneinfo |
String |
toJSON()
Returns a JSON string corresponding to object state |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Userinfo()
| Method Detail |
|---|
public static String getLastRequest()
public static String getLastResponse()
public static void initConfig(InputStream is)
throws PayPalRESTException
is - InputStream
PayPalRESTException
public static void initConfig(File file)
throws PayPalRESTException
file - File object of a properties entity
PayPalRESTExceptionpublic static void initConfig(Properties properties)
properties - Properties objectpublic void setUserId(String userId)
public String getUserId()
public void setSub(String sub)
public String getSub()
public void setName(String name)
public String getName()
public void setGivenName(String givenName)
public String getGivenName()
public void setFamilyName(String familyName)
public String getFamilyName()
public void setMiddleName(String middleName)
public String getMiddleName()
public void setPicture(String picture)
public String getPicture()
public void setEmail(String email)
public String getEmail()
public void setEmailVerified(Boolean emailVerified)
public Boolean getEmailVerified()
public void setGender(String gender)
public String getGender()
public void setBirthdate(String birthdate)
public String getBirthdate()
public void setZoneinfo(String zoneinfo)
public String getZoneinfo()
public void setLocale(String locale)
public String getLocale()
public void setPhoneNumber(String phoneNumber)
public String getPhoneNumber()
public void setAddress(Address address)
public Address getAddress()
public void setVerifiedAccount(Boolean verifiedAccount)
public Boolean getVerifiedAccount()
public void setAccountType(String accountType)
public String getAccountType()
public void setAgeRange(String ageRange)
public String getAgeRange()
public void setPayerId(String payerId)
public String getPayerId()
public static Userinfo getUserinfo(UserinfoParameters userinfoParameters)
throws PayPalRESTException
userinfoParameters - Query parameters used for API call
PayPalRESTException
public static Userinfo getUserinfo(APIContext apiContext,
UserinfoParameters userinfoParameters)
throws PayPalRESTException
apiContext - APIContext to be used for the call.userinfoParameters - Query parameters used for API call
PayPalRESTExceptionpublic String toJSON()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||