Package com.pensio.api
Class PensioAbstractAPI
java.lang.Object
com.pensio.api.PensioAbstractAPI
- Direct Known Subclasses:
PensioMerchantAPI,PensioProcessorAPI
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected HTTPHelperprotected javax.xml.bind.JAXBContextprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected APIResponsegetAPIResponse(String method, Map<String, String> params) protected abstract Stringprotected Stringprotected StringgetString(InputStream inStream) protected javax.xml.bind.Unmarshaller
-
Field Details
-
baseURL
-
username
-
password
-
jc
protected javax.xml.bind.JAXBContext jc -
httpHelper
-
-
Constructor Details
-
PensioAbstractAPI
-
-
Method Details
-
getUnmarshaller
protected javax.xml.bind.Unmarshaller getUnmarshaller() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
getSdkVersion
-
getAPIResponse
protected APIResponse getAPIResponse(String method, Map<String, String> params) throws PensioAPIException- Throws:
PensioAPIException
-
addParam
-
getString
- Throws:
IOException
-
getAppAPIPath
-