@Service public class AccountReferenceInConsentUpdater extends Object
| Constructor and Description |
|---|
AccountReferenceInConsentUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
rewriteAccountAccess(@NotNull String consentId,
@NotNull de.adorsys.psd2.core.data.AccountAccess newAccountAccess)
Overwrites existing account access with the new one.
|
de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.core.data.ais.AisConsent> |
updateAccountReferences(@NotNull String consentId,
@NotNull de.adorsys.psd2.core.data.ais.AisConsent aisConsent,
@NotNull List<Xs2aAccountDetails> accountDetails)
Updates account resourceIDs in existing account access.
|
de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.core.data.ais.AisConsent> |
updateCardAccountReferences(String consentId,
de.adorsys.psd2.core.data.ais.AisConsent aisConsent,
List<Xs2aCardAccountDetails> accountDetails)
Updates card account resource IDs in existing account access.
|
public void rewriteAccountAccess(@NotNull
@NotNull String consentId,
@NotNull
@NotNull de.adorsys.psd2.core.data.AccountAccess newAccountAccess)
consentId - an external ID of consent, where account access to be storednewAccountAccess - new object with account accessespublic de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.core.data.ais.AisConsent> updateAccountReferences(@NotNull
@NotNull String consentId,
@NotNull
@NotNull de.adorsys.psd2.core.data.ais.AisConsent aisConsent,
@NotNull
@NotNull List<Xs2aAccountDetails> accountDetails)
consentId - an external ID of consent, where account access to be storedaisConsent - consent for which references are being updatedaccountDetails - list of account details with referenceId setpublic de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.core.data.ais.AisConsent> updateCardAccountReferences(String consentId, de.adorsys.psd2.core.data.ais.AisConsent aisConsent, List<Xs2aCardAccountDetails> accountDetails)
consentId - an external ID of consent, where account access to be storedaisConsent - consent for which references are being updatedaccountDetails - list of account details with referenceId setCopyright © 2020. All rights reserved.