@Service public class AccountReferenceInConsentUpdater extends Object
| Constructor and Description |
|---|
AccountReferenceInConsentUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
rewriteAccountAccess(@NotNull String consentId,
@NotNull Xs2aAccountAccess newAccountAccess)
Overwrites existing account access with the new one.
|
void |
updateAccountReferences(@NotNull String consentId,
@NotNull List<Xs2aAccountDetails> accountDetails)
Updates account resourceIDs in existing account access.
|
public void rewriteAccountAccess(@NotNull
@NotNull String consentId,
@NotNull
@NotNull Xs2aAccountAccess newAccountAccess)
consentId - an external ID of consent, where account access to be storednewAccountAccess - new object with account accessespublic void updateAccountReferences(@NotNull
@NotNull String consentId,
@NotNull
@NotNull List<Xs2aAccountDetails> accountDetails)
consentId - an external ID of consent, where account access to be storedaccountDetails - list of account details with referenceId setCopyright © 2019. All rights reserved.