@Entity(name="ais_consent") public class AisConsent extends InstanceDependableEntity implements Authorisable
| Constructor and Description |
|---|
AisConsent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAccountAccess(Set<TppAccountAccess> accountAccesses) |
void |
addAspspAccountAccess(Set<AspspAccountAccess> aspspAccesses) |
void |
addUsage(AisConsentUsage aisConsentUsage) |
void |
aisConsentPostLoad() |
void |
aisConsentPrePersist() |
void |
aisConsentPreUpdate() |
boolean |
checkNoneAdditionalAccountInformation() |
List<TppAccountAccess> |
getAccesses() |
String |
getInternalRequestId(de.adorsys.psd2.xs2a.core.authorisation.AuthorisationType authorisationType) |
boolean |
isConfirmationExpired(long expirationPeriodMs) |
boolean |
isExpiredByDate() |
boolean |
isNonReccuringAlreadyUsed()
Checks, whether the consent is non-recurring and was used any time before today.
|
boolean |
isNotConfirmed() |
boolean |
isOneAccessType() |
boolean |
isWrongConsentData() |
boolean |
shouldConsentBeExpired() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthorisationTemplate, getExternalId, getPsuDataList, setPsuDataListpublic void aisConsentPostLoad()
public void aisConsentPreUpdate()
public void aisConsentPrePersist()
public List<TppAccountAccess> getAccesses()
public boolean isExpiredByDate()
public boolean isConfirmationExpired(long expirationPeriodMs)
public boolean isNotConfirmed()
public void addAccountAccess(Set<TppAccountAccess> accountAccesses)
public void addAspspAccountAccess(Set<AspspAccountAccess> aspspAccesses)
public boolean isOneAccessType()
public boolean isWrongConsentData()
public void addUsage(AisConsentUsage aisConsentUsage)
public boolean shouldConsentBeExpired()
public boolean isNonReccuringAlreadyUsed()
public boolean checkNoneAdditionalAccountInformation()
public String getInternalRequestId(de.adorsys.psd2.xs2a.core.authorisation.AuthorisationType authorisationType)
getInternalRequestId in interface AuthorisableCopyright © 2020. All rights reserved.