C
- Context classH
- ASPSP API headers classV
- ASPSP API object to validate after mapping, compatible with Xs2aValidator
B
- ASPSP API object to use when doing API callpublic class HeadersBodyMapperTemplate<C extends BaseContext,H,V,B> extends Object
Xs2aContext
to ASPSP API request parameters (headers and body).Constructor and Description |
---|
HeadersBodyMapperTemplate() |
Modifier and Type | Method and Description |
---|---|
ValidatedHeadersBody<H,B> |
forExecution(C context)
Converts context object into object that can be used for ASPSP API call.
|
HeadersBodyToValidate<H,V> |
forValidation(C context)
Converts context object into object that can be used for validation.
|
public HeadersBodyToValidate<H,V> forValidation(C context)
context
- Context to convertXs2aValidator
to check if all necessary parameters are presentpublic ValidatedHeadersBody<H,B> forExecution(C context)
context
- Context to convertXs2aAdapter
to perform ASPSP API callsCopyright © 2020. All rights reserved.