@Component public class AisConsentMapper extends Object
| Constructor and Description |
|---|
AisConsentMapper() |
| Modifier and Type | Method and Description |
|---|---|
Set<AspspAccountAccess> |
mapAspspAccountAccesses(AisAccountAccess aisAccountAccess) |
AisAccountConsent |
mapToAisAccountConsent(AisConsent consent)
Maps AisConsent to AisAccountConsent with accesses populated with account references, provided by ASPSP.
|
AisConsentAuthorizationResponse |
mapToAisConsentAuthorizationResponse(AisConsentAuthorization aisConsentAuthorization) |
AisAccountConsent |
mapToInitialAisAccountConsent(AisConsent consent)
Maps AisConsent to AisAccountConsent with accesses populated with account references, provided by TPP.
|
public AisAccountConsent mapToAisAccountConsent(AisConsent consent)
If no account references were provided by the ASPSP, TPP accesses will be used instead.
consent - AIS consent entitypublic AisAccountConsent mapToInitialAisAccountConsent(AisConsent consent)
consent - AIS consent entitypublic AisConsentAuthorizationResponse mapToAisConsentAuthorizationResponse(AisConsentAuthorization aisConsentAuthorization)
public Set<AspspAccountAccess> mapAspspAccountAccesses(AisAccountAccess aisAccountAccess)
Copyright © 2019. All rights reserved.