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