Interface CmsAspspPiisFundsExportService


  • @NotNull
    public interface CmsAspspPiisFundsExportService
    • Method Detail

      • exportConsentsByTpp

        Collection<de.adorsys.psd2.consent.api.piis.v1.CmsPiisConsent> exportConsentsByTpp​(String tppAuthorisationNumber,
                                                                                           @Nullable
                                                                                           @Nullable LocalDate createDateFrom,
                                                                                           @Nullable
                                                                                           @Nullable LocalDate createDateTo,
                                                                                           @Nullable
                                                                                           @Nullable de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
                                                                                           @Nullable
                                                                                           @Nullable String instanceId,
                                                                                           Integer pageIndex,
                                                                                           Integer itemsPerPage)
        Returns list of consents by given criteria.
        Parameters:
        tppAuthorisationNumber - Mandatory TPP ID
        createDateFrom - Optional starting creation date criteria
        createDateTo - Optional ending creation date criteria
        psuIdData - Optional Psu information criteria
        instanceId - Optional id of particular service instance. If it's not provided, default value will be used instead.
        pageIndex - index of current page
        itemsPerPage - quantity of consents on one page
        Returns:
        Collection of consents for TPP by given criteria. By inconsistent criteria an empty list will be returned
        Throws:
        TooManyResultsException - If CMS is not able to provide result due to overflow, developer shall limit his/her request, making pagination by dates.
      • exportConsentsByPsu

        Collection<de.adorsys.psd2.consent.api.piis.v1.CmsPiisConsent> exportConsentsByPsu​(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
                                                                                           @Nullable
                                                                                           @Nullable LocalDate createDateFrom,
                                                                                           @Nullable
                                                                                           @Nullable LocalDate createDateTo,
                                                                                           @Nullable
                                                                                           @Nullable String instanceId,
                                                                                           Integer pageIndex,
                                                                                           Integer itemsPerPage)
        Returns list of consents by given criteria.
        Parameters:
        psuIdData - Mandatory Psu information criteria
        createDateFrom - Optional starting creation date criteria
        createDateTo - Optional ending creation date criteria
        instanceId - Optional id of particular service instance. If it's not provided, default value will be used instead.
        pageIndex - index of current page
        itemsPerPage - quantity of consents on one page
        Returns:
        Collection of consents for PSU by given criteria. By inconsistent criteria an empty list will be returned
        Throws:
        TooManyResultsException - If CMS is not able to provide result due to overflow, developer shall limit his/her request, making pagination by dates.
      • exportConsentsByAccountId

        Collection<de.adorsys.psd2.consent.api.piis.v1.CmsPiisConsent> exportConsentsByAccountId​(@NotNull
                                                                                                 @NotNull String aspspAccountId,
                                                                                                 @Nullable
                                                                                                 @Nullable LocalDate createDateFrom,
                                                                                                 @Nullable
                                                                                                 @Nullable LocalDate createDateTo,
                                                                                                 @Nullable
                                                                                                 @Nullable String instanceId,
                                                                                                 Integer pageIndex,
                                                                                                 Integer itemsPerPage)
        Returns list of consents by given criteria.
        Parameters:
        aspspAccountId - Bank specific account identifier
        createDateFrom - Optional starting creation date criteria
        createDateTo - Optional ending creation date criteria
        instanceId - Optional id of particular service instance. If it's not provided, default value will be used instead.
        pageIndex - index of current page
        itemsPerPage - quantity of consents on one page
        Returns:
        Collection of consents by given criteria. By inconsistent criteria an empty list will be returned
        Throws:
        TooManyResultsException - If CMS is not able to provide result due to overflow, developer shall limit his/her request, making pagination by dates.