Package de.adorsys.psd2.xs2a.service.spi
Class InitialSpiAspspConsentDataProvider
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.spi.InitialSpiAspspConsentDataProvider
-
- All Implemented Interfaces:
de.adorsys.psd2.xs2a.spi.domain.SpiAspspConsentDataProvider
public class InitialSpiAspspConsentDataProvider extends Object implements de.adorsys.psd2.xs2a.spi.domain.SpiAspspConsentDataProvider
This implementation to be used to temporarily hold consent data array in case if no Consent/Payment ID provided yet. Once it is provided with "saveWith" method, it is saved in the database.
-
-
Constructor Summary
Constructors Constructor Description InitialSpiAspspConsentDataProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearAspspConsentData()@org.jetbrains.annotations.NotNull byte[]loadAspspConsentData()voidsaveWith(@NotNull String encryptedConsentId)Links this consent data object to some consent / paymentvoidupdateAspspConsentData(byte[] aspspConsentData)
-
-
-
Method Detail
-
loadAspspConsentData
@NotNull public @org.jetbrains.annotations.NotNull byte[] loadAspspConsentData()
- Specified by:
loadAspspConsentDatain interfacede.adorsys.psd2.xs2a.spi.domain.SpiAspspConsentDataProvider
-
updateAspspConsentData
public void updateAspspConsentData(byte[] aspspConsentData)
- Specified by:
updateAspspConsentDatain interfacede.adorsys.psd2.xs2a.spi.domain.SpiAspspConsentDataProvider
-
clearAspspConsentData
public void clearAspspConsentData()
- Specified by:
clearAspspConsentDatain interfacede.adorsys.psd2.xs2a.spi.domain.SpiAspspConsentDataProvider
-
saveWith
public void saveWith(@NotNull @NotNull String encryptedConsentId)Links this consent data object to some consent / payment- Parameters:
encryptedConsentId- Consent/Payment ID that will be returned to TPP
-
-