com.paypal.base
Class APIService

java.lang.Object
  extended by com.paypal.base.APIService

public class APIService
extends Object

Wrapper class for api calls


Constructor Summary
APIService()
          Deprecated.  
APIService(Map<String,String> configurationMap)
          APIService configured through Map
 
Method Summary
 String getEndPoint()
          Deprecated.  
 String makeRequestUsing(APICallPreHandler apiCallPreHandler)
          Makes a request to API service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APIService

public APIService()
Deprecated. 

APISerice


APIService

public APIService(Map<String,String> configurationMap)
APIService configured through Map

Parameters:
configurationMap - Map to over-ride default Config Manager configuration
Method Detail

makeRequestUsing

public String makeRequestUsing(APICallPreHandler apiCallPreHandler)
                        throws InvalidResponseDataException,
                               HttpErrorException,
                               ClientActionRequiredException,
                               IOException,
                               InterruptedException,
                               InvalidCredentialException,
                               MissingCredentialException,
                               OAuthException,
                               SSLConfigurationException
Makes a request to API service

Parameters:
apiCallPreHandler - API Call specific handler
Returns:
Response from API as string
Throws:
InvalidResponseDataException
HttpErrorException
ClientActionRequiredException
IOException
InterruptedException
InvalidCredentialException
MissingCredentialException
OAuthException
SSLConfigurationException

getEndPoint

public String getEndPoint()
Deprecated. 

Returns:


Copyright © 2015. All Rights Reserved.