@Component public class AisConsentMapper extends Object
| Constructor and Description |
|---|
AisConsentMapper() |
| Modifier and Type | Method and Description |
|---|---|
Set<AspspAccountAccess> |
mapAspspAccountAccesses(de.adorsys.psd2.consent.api.ais.AisAccountAccess aisAccountAccess) |
de.adorsys.psd2.consent.api.ais.AisAccountConsent |
mapToAisAccountConsent(AisConsent consent,
List<AuthorisationEntity> authorisations)
Maps AisConsent to AisAccountConsent with accesses populated with account references, provided by ASPSP.
|
de.adorsys.psd2.consent.api.ais.CmsAisAccountConsent |
mapToCmsAisAccountConsent(AisConsent consent,
List<AuthorisationEntity> authorisations) |
public de.adorsys.psd2.consent.api.ais.AisAccountConsent mapToAisAccountConsent(AisConsent consent, List<AuthorisationEntity> authorisations)
If no account references were provided by the ASPSP, TPP accesses will be used instead.
consent - AIS consent entitypublic de.adorsys.psd2.consent.api.ais.CmsAisAccountConsent mapToCmsAisAccountConsent(AisConsent consent, List<AuthorisationEntity> authorisations)
public Set<AspspAccountAccess> mapAspspAccountAccesses(de.adorsys.psd2.consent.api.ais.AisAccountAccess aisAccountAccess)
Copyright © 2020. All rights reserved.