public class PayPalProfile extends OAuth20Profile
This class is the user profile for PayPal with appropriate getters.
It is returned by the PayPalClient.
| Method : | From the JSON profile response : |
|---|---|
The attributes of the CommonProfile |
|
| String getEmail() | the email attribute |
| String getFirstName() | the given_name attribute |
| String getFamilyName() | the family_name attribute |
| String getDisplayName() | the name attribute |
| String getUsername() | null |
| Gender getGender() | Gender.UNSPECIFIED |
| Locale getLocale() | the locale attribute |
| String getPictureUrl() | null |
| String getProfileUrl() | null |
| String getLocation() | the zoneinfo attribute |
| More specific attributes | |
| Locale getLanguage() | the language attribute |
| PayPalAddress getAddress() | the address attribute |
PayPalClient,
Serialized FormUSERNAMElogger, SEPARATOR| Constructor and Description |
|---|
PayPalProfile() |
| Modifier and Type | Method and Description |
|---|---|
PayPalAddress |
getAddress() |
protected AttributesDefinition |
getAttributesDefinition() |
String |
getDisplayName() |
String |
getEmail() |
String |
getFamilyName() |
String |
getFirstName() |
Locale |
getLanguage() |
Locale |
getLocale() |
String |
getLocation() |
getAccessToken, setAccessTokengetGender, getPictureUrl, getProfileUrl, getUsernameaddAttribute, addAttributes, addPermission, addRole, build, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, hasAccess, hasAllRoles, hasAnyRole, isRemembered, setId, setRemembered, toStringprotected AttributesDefinition getAttributesDefinition()
getAttributesDefinition in class UserProfilepublic String getEmail()
getEmail in class CommonProfilepublic String getFirstName()
getFirstName in class CommonProfilepublic String getFamilyName()
getFamilyName in class CommonProfilepublic String getDisplayName()
getDisplayName in class CommonProfilepublic Locale getLocale()
getLocale in class CommonProfilepublic String getLocation()
getLocation in class CommonProfilepublic Locale getLanguage()
public PayPalAddress getAddress()
Copyright © 2015. All Rights Reserved.