Interface AspspDataService


  • public interface AspspDataService
    • Method Detail

      • readAspspConsentData

        @NotNull
        @NotNull Optional<de.adorsys.psd2.xs2a.core.consent.AspspConsentData> readAspspConsentData​(@NotNull
                                                                                                   @NotNull String id)
        Reads an AspspConsentData object by the Consent ID / Payment ID
        Parameters:
        id - AIS/PIIS Consent ID / Payment ID that identifies the data
        Returns:
        AspspConsentData if consent was found. false otherwise.
      • updateAspspConsentData

        boolean updateAspspConsentData​(@NotNull
                                       @NotNull de.adorsys.psd2.xs2a.core.consent.AspspConsentData aspspConsentData)
        Writes/Updates an AspspConsentData by the consent ID given in it
        Parameters:
        aspspConsentData - aspspConsentData to be put. If aspspConsentData is null it will be removed
        Returns:
        true if consent was found and data was updated. false otherwise.
      • deleteAspspConsentData

        boolean deleteAspspConsentData​(@NotNull
                                       @NotNull String id)
        Deletes an AspspConsentData object by the Consent ID / Payment ID
        Parameters:
        id - AIS/PIIS Consent ID / Payment ID that identifies the data
        Returns:
        true if consent was found and data was deleted. false otherwise.