Package de.adorsys.psd2.xs2a.web.mapper
Class ConsentModelMapper
- java.lang.Object
-
- de.adorsys.psd2.xs2a.web.mapper.ConsentModelMapper
-
@Component public class ConsentModelMapper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description AccountModelMapperaccountModelMapper
-
Constructor Summary
Constructors Constructor Description ConsentModelMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.adorsys.psd2.xs2a.core.profile.AccountReferencemapToAccountReference(Object reference)de.adorsys.psd2.model.AuthorisationsmapToAuthorisations(Xs2aPaymentCancellationAuthorisationSubResource idsContainer)de.adorsys.psd2.model.ConsentInformationResponse200JsonmapToConsentInformationResponse200Json(de.adorsys.psd2.core.data.ais.AisConsent aisConsent)de.adorsys.psd2.model.ConsentsResponse201mapToConsentsResponse201(CreateConsentResponse createConsentResponse)de.adorsys.psd2.model.ConsentStatusResponse200mapToConsentStatusResponse200(ConsentStatusResponse consentStatusResponse)CreateConsentReqmapToCreateConsentReq(de.adorsys.psd2.model.Consents consent, de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri tppRedirectUri, de.adorsys.psd2.xs2a.core.tpp.TppNotificationData tppNotificationData, String tppBrandLoggingInformation, String instanceId)PaymentAuthorisationParametersmapToPisUpdatePsuData(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData, String paymentId, String authorisationId, de.adorsys.psd2.xs2a.core.profile.PaymentType paymentService, String paymentProduct, Map body)ConsentAuthorisationsParametersmapToUpdatePsuData(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData, String consentId, String authorizationId, Map body)List<de.adorsys.psd2.xs2a.core.profile.AccountReference>mapToXs2aAccountReferences(List<de.adorsys.psd2.model.AccountReference> references)
-
-
-
Field Detail
-
accountModelMapper
public final AccountModelMapper accountModelMapper
-
-
Method Detail
-
mapToCreateConsentReq
public CreateConsentReq mapToCreateConsentReq(de.adorsys.psd2.model.Consents consent, de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri tppRedirectUri, de.adorsys.psd2.xs2a.core.tpp.TppNotificationData tppNotificationData, String tppBrandLoggingInformation, String instanceId)
-
mapToConsentStatusResponse200
public de.adorsys.psd2.model.ConsentStatusResponse200 mapToConsentStatusResponse200(ConsentStatusResponse consentStatusResponse)
-
mapToConsentsResponse201
public de.adorsys.psd2.model.ConsentsResponse201 mapToConsentsResponse201(CreateConsentResponse createConsentResponse)
-
mapToConsentInformationResponse200Json
public de.adorsys.psd2.model.ConsentInformationResponse200Json mapToConsentInformationResponse200Json(de.adorsys.psd2.core.data.ais.AisConsent aisConsent)
-
mapToXs2aAccountReferences
public List<de.adorsys.psd2.xs2a.core.profile.AccountReference> mapToXs2aAccountReferences(List<de.adorsys.psd2.model.AccountReference> references)
-
mapToAccountReference
public de.adorsys.psd2.xs2a.core.profile.AccountReference mapToAccountReference(Object reference)
-
mapToUpdatePsuData
public ConsentAuthorisationsParameters mapToUpdatePsuData(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData, String consentId, String authorizationId, Map body)
-
mapToAuthorisations
public de.adorsys.psd2.model.Authorisations mapToAuthorisations(Xs2aPaymentCancellationAuthorisationSubResource idsContainer)
-
mapToPisUpdatePsuData
public PaymentAuthorisationParameters mapToPisUpdatePsuData(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData, String paymentId, String authorisationId, de.adorsys.psd2.xs2a.core.profile.PaymentType paymentService, String paymentProduct, Map body)
-
-