public interface APICallPreHandler
APICallPreHandler defines a high level abstraction for call
specific operations. The calls may be divided as per formats as SOAP or NVP.
PayPal Merchant Services are provided by MerchantAPICallPreHandler which
is a decorator over the basic DefaultSOAPAPICallHandler. PayPal Platform
Services are provided by PlatformAPICallPreHandler. PayPal REST API is
provided by RESTAPICallPreHandler| Modifier and Type | Method and Description |
|---|---|
ICredential |
getCredential()
Returns
ICredential configured for the api call |
String |
getEndPoint()
Returns the endpoint for the API call.
|
Map<String,String> |
getHeaderMap()
Returns headers for HTTP call
|
String |
getPayLoad()
Returns the payload for the API call.
|
void |
validate()
Validates settings and integrity before call
|
Map<String,String> getHeaderMap() throws OAuthException
OAuthExceptionString getPayLoad()
String getEndPoint()
Constants)are taken to be default for the API call.ICredential getCredential()
ICredential configured for the api callvoid validate()
throws ClientActionRequiredException
ClientActionRequiredExceptionCopyright © 2016. All Rights Reserved.