public class PermissionsService
extends com.paypal.core.BaseService
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
static String |
SERVICE_VERSION |
| Constructor and Description |
|---|
PermissionsService()
Default
PermissionsService Constructor. |
PermissionsService(File configFile)
PermissionsService that uses the supplied
File object to initialize the SDK system. |
PermissionsService(InputStream inputStream)
PermissionsService that uses the supplied
InputStream object to initialize the SDK system. |
PermissionsService(Map<String,String> configurationMap)
PayPalAPIInterfaceServiceService that uses the supplied
Map to initialize the SDK system. |
PermissionsService(Properties properties)
PermissionsService that uses the supplied
Properties to initialize the SDK system. |
PermissionsService(String configFilePath)
PermissionsService that uses the supplied path
to initialize the SDK system. |
public static final String SERVICE_VERSION
public static final String SERVICE_NAME
public PermissionsService()
PermissionsService Constructor.
Initializes the SDK system with the default configuration file named
'sdk_config.properties' found in the class-pathpublic PermissionsService(String configFilePath) throws IOException
PermissionsService that uses the supplied path
to initialize the SDK system. The initialization context is maintained
only for this instance of the class. To initialize the SDK system
globally use the default constructor.configFilePath - Absolute path to a Properties fileIOExceptionPayPalAPIInterfaceServiceServicepublic PermissionsService(File configFile) throws IOException
PermissionsService that uses the supplied
File object to initialize the SDK system. The initialization
context is maintained only for this instance of the class. To initialize
the SDK system globally use the default constructorconfigFile - Configuration file in Properties formatIOExceptionPayPalAPIInterfaceServiceServicepublic PermissionsService(InputStream inputStream) throws IOException
PermissionsService that uses the supplied
InputStream object to initialize the SDK system. The
initialization context is maintained only for this instance of the class.
To initialize the SDK system globally use the default constructor.inputStream - InputStream of a Properties fileIOExceptionPayPalAPIInterfaceServiceServicepublic PermissionsService(Properties properties)
PermissionsService that uses the supplied
Properties to initialize the SDK system. For values that the
properties should hold consult the sample 'sdk_config.properties' file
bundled with the SDK. The initialization context is maintained only for
this instance of the class. To initialize the SDK system globally use the
default constructor.properties - Properties objectPayPalAPIInterfaceServiceServicepublic PermissionsService(Map<String,String> configurationMap)
PayPalAPIInterfaceServiceService that uses the supplied
Map to initialize the SDK system. For values that the map should
hold consult the sample 'sdk_config.properties' file bundled with the
SDK. The initialization context is maintained only for this instance of
the class. To initialize the SDK system globally use the default
constructor.configurationMap - Map objectPayPalAPIInterfaceServiceServicepublic RequestPermissionsResponse requestPermissions(RequestPermissionsRequest requestPermissionsRequest) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic RequestPermissionsResponse requestPermissions(RequestPermissionsRequest requestPermissionsRequest, com.paypal.core.credential.ICredential credential) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic RequestPermissionsResponse requestPermissions(RequestPermissionsRequest requestPermissionsRequest, String apiUsername) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetAccessTokenResponse getAccessToken(GetAccessTokenRequest getAccessTokenRequest) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetAccessTokenResponse getAccessToken(GetAccessTokenRequest getAccessTokenRequest, com.paypal.core.credential.ICredential credential) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetAccessTokenResponse getAccessToken(GetAccessTokenRequest getAccessTokenRequest, String apiUsername) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetPermissionsResponse getPermissions(GetPermissionsRequest getPermissionsRequest) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetPermissionsResponse getPermissions(GetPermissionsRequest getPermissionsRequest, com.paypal.core.credential.ICredential credential) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetPermissionsResponse getPermissions(GetPermissionsRequest getPermissionsRequest, String apiUsername) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic CancelPermissionsResponse cancelPermissions(CancelPermissionsRequest cancelPermissionsRequest) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic CancelPermissionsResponse cancelPermissions(CancelPermissionsRequest cancelPermissionsRequest, com.paypal.core.credential.ICredential credential) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic CancelPermissionsResponse cancelPermissions(CancelPermissionsRequest cancelPermissionsRequest, String apiUsername) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetBasicPersonalDataResponse getBasicPersonalData(GetBasicPersonalDataRequest getBasicPersonalDataRequest) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetBasicPersonalDataResponse getBasicPersonalData(GetBasicPersonalDataRequest getBasicPersonalDataRequest, com.paypal.core.credential.ICredential credential) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetBasicPersonalDataResponse getBasicPersonalData(GetBasicPersonalDataRequest getBasicPersonalDataRequest, String apiUsername) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetAdvancedPersonalDataResponse getAdvancedPersonalData(GetAdvancedPersonalDataRequest getAdvancedPersonalDataRequest) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetAdvancedPersonalDataResponse getAdvancedPersonalData(GetAdvancedPersonalDataRequest getAdvancedPersonalDataRequest, com.paypal.core.credential.ICredential credential) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionpublic GetAdvancedPersonalDataResponse getAdvancedPersonalData(GetAdvancedPersonalDataRequest getAdvancedPersonalDataRequest, String apiUsername) throws com.paypal.exception.SSLConfigurationException, com.paypal.exception.InvalidCredentialException, UnsupportedEncodingException, IOException, com.paypal.exception.HttpErrorException, com.paypal.exception.InvalidResponseDataException, com.paypal.exception.ClientActionRequiredException, com.paypal.exception.MissingCredentialException, InterruptedException, com.paypal.sdk.exceptions.OAuthException
com.paypal.exception.SSLConfigurationExceptioncom.paypal.exception.InvalidCredentialExceptionUnsupportedEncodingExceptionIOExceptioncom.paypal.exception.HttpErrorExceptioncom.paypal.exception.InvalidResponseDataExceptioncom.paypal.exception.ClientActionRequiredExceptioncom.paypal.exception.MissingCredentialExceptionInterruptedExceptioncom.paypal.sdk.exceptions.OAuthExceptionCopyright © 2013. All Rights Reserved.