Class UpdateAuthMapper
- java.lang.Object
-
- de.adorsys.opba.protocol.xs2a.entrypoint.authorization.common.UpdateAuthMapper
-
@Service public class UpdateAuthMapper extends Object
Mapper that updates current context (Xs2aContext) with users' input.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAuthMapper.AisMapperMaps the update the context with AIS consent specification object.static interfaceUpdateAuthMapper.FromAisRequestAccountListUpdates account listing context with authorization request.static interfaceUpdateAuthMapper.FromAisRequestTransactionListUpdates transaction listing context with authorization request.static interfaceUpdateAuthMapper.FromPisRequestSinglePaymentInitiationUpdates single payment context with authorization request.
-
Constructor Summary
Constructors Constructor Description UpdateAuthMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Xs2aContextupdateContext(Xs2aContext context, de.adorsys.opba.protocol.api.dto.request.authorization.AuthorizationRequest request)Due to JsonCustomSerializer, Xs2aContext will always have the type it had started with, for exampleAccountListXs2aContextwill be always properly deserialized.
-
-
-
Method Detail
-
updateContext
public Xs2aContext updateContext(Xs2aContext context, de.adorsys.opba.protocol.api.dto.request.authorization.AuthorizationRequest request)
Due to JsonCustomSerializer, Xs2aContext will always have the type it had started with, for exampleAccountListXs2aContextwill be always properly deserialized.
-
-