public interface DataHandler
SofortLibRequest to an API XML request wrapped
in a RawRequest
2) parsing of an API XML response wrapped in RawResponse to
SofortLibResponse| Modifier and Type | Method and Description |
|---|---|
SofortLibResponse |
parse(RawResponse rawResponse,
java.lang.Class<? extends SofortLibResponse> responseClass)
Parses the API XML response wrapped into
RawResponse to
SofortLibResponse of given type. |
RawRequest |
render(SofortLibRequest dataRequest)
Renders
SofortLibRequest to the API XML request wrapped into
RawRequest. |
RawRequest render(SofortLibRequest dataRequest)
SofortLibRequest to the API XML request wrapped into
RawRequest.dataRequest - a SofortLibRequestRawRequestSofortLibResponse parse(RawResponse rawResponse, java.lang.Class<? extends SofortLibResponse> responseClass)
RawResponse to
SofortLibResponse of given type.rawResponse - API XML response wrapped into RawResponseresponseClass - expected response classSofortLibResponse of given type