public interface CmsAspspPiisService
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
createConsent(@NotNull de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
@Nullable de.adorsys.psd2.xs2a.core.tpp.TppInfo tppInfo,
@NotNull List<de.adorsys.psd2.xs2a.core.profile.AccountReference> accounts,
@NotNull LocalDate validUntil,
int allowedFrequencyPerDay)
Creates new PIIS consent.
|
@NotNull List<de.adorsys.psd2.xs2a.core.piis.PiisConsent> |
getConsentsForPsu(@NotNull de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
@NotNull String instanceId)
Returns a list of PIIS Consent objects by PSU ID
|
boolean |
terminateConsent(@NotNull String consentId,
@NotNull String instanceId)
Terminates PIIS Consent object by its ID.
|
Optional<String> createConsent(@NotNull @NotNull de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData, @Nullable @Nullable de.adorsys.psd2.xs2a.core.tpp.TppInfo tppInfo, @NotNull @NotNull List<de.adorsys.psd2.xs2a.core.profile.AccountReference> accounts, @NotNull @NotNull LocalDate validUntil, int allowedFrequencyPerDay)
psuIdData - PSU credentials datatppInfo - TPP for which the consent will be created. If the value is omitted, the consent
will be created for all TPPs. If the TPP info object is present, it must contain
authorisation number and authority ID.accounts - List of accounts for which the consent will be createdvalidUntil - Consent's expiration dateallowedFrequencyPerDay - Maximum frequency for an access per dayboolean terminateConsent(@NotNull
@NotNull String consentId,
@NotNull
@NotNull String instanceId)
consentId - ID of ConsentinstanceId - Id of the particular service instancetrue if consent was found and terminated. false otherwise.@NotNull @NotNull List<de.adorsys.psd2.xs2a.core.piis.PiisConsent> getConsentsForPsu(@NotNull @NotNull de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData, @NotNull @NotNull String instanceId)
psuIdData - PSU credentials datainstanceId - Id of the particular service instanceCopyright © 2019. All rights reserved.