Interface CmsAspspPisExportService
-
@NotNull public interface CmsAspspPisExportService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<de.adorsys.psd2.consent.api.pis.CmsPayment>exportPaymentsByAccountId(@NotNull String aspspAccountId, @Nullable LocalDate createDateFrom, @Nullable LocalDate createDateTo, @NotNull String instanceId, Integer pageIndex, Integer itemsPerPage)Returns list of payments by given criteria.Collection<de.adorsys.psd2.consent.api.pis.CmsPayment>exportPaymentsByPsu(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData, @Nullable LocalDate createDateFrom, @Nullable LocalDate createDateTo, @NotNull String instanceId, Integer pageIndex, Integer itemsPerPage)Returns list of payments by given criteria.Collection<de.adorsys.psd2.consent.api.pis.CmsPayment>exportPaymentsByTpp(String tppAuthorisationNumber, @Nullable LocalDate createDateFrom, @Nullable LocalDate createDateTo, @Nullable de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData, @NotNull String instanceId, Integer pageIndex, Integer itemsPerPage)Returns list of payments by given criteria.
-
-
-
Method Detail
-
exportPaymentsByTpp
Collection<de.adorsys.psd2.consent.api.pis.CmsPayment> exportPaymentsByTpp(String tppAuthorisationNumber, @Nullable @Nullable LocalDate createDateFrom, @Nullable @Nullable LocalDate createDateTo, @Nullable @Nullable de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData, @NotNull @NotNull String instanceId, Integer pageIndex, Integer itemsPerPage)
Returns list of payments by given criteria.- Parameters:
tppAuthorisationNumber- Mandatory TPP IDcreateDateFrom- Optional starting creation date criteriacreateDateTo- Optional ending creation date criteriapsuIdData- Optional Psu information criteriainstanceId- Mandatory id of particular service instancepageIndex- index of current pageitemsPerPage- quantity of consents on one page- Returns:
- Collection of payments 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.
-
exportPaymentsByPsu
Collection<de.adorsys.psd2.consent.api.pis.CmsPayment> exportPaymentsByPsu(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData, @Nullable @Nullable LocalDate createDateFrom, @Nullable @Nullable LocalDate createDateTo, @NotNull @NotNull String instanceId, Integer pageIndex, Integer itemsPerPage)
Returns list of payments by given criteria.- Parameters:
psuIdData- Mandatory Psu information criteriacreateDateFrom- Optional starting creation date criteriacreateDateTo- Optional ending creation date criteriainstanceId- Mandatory id of particular service instancepageIndex- index of current pageitemsPerPage- quantity of consents on one page- Returns:
- Collection of payments 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.
-
exportPaymentsByAccountId
Collection<de.adorsys.psd2.consent.api.pis.CmsPayment> exportPaymentsByAccountId(@NotNull @NotNull String aspspAccountId, @Nullable @Nullable LocalDate createDateFrom, @Nullable @Nullable LocalDate createDateTo, @NotNull @NotNull String instanceId, Integer pageIndex, Integer itemsPerPage)
Returns list of payments by given criteria.- Parameters:
aspspAccountId- Bank specific account identifiercreateDateFrom- Optional starting creation date criteriacreateDateTo- Optional ending creation date criteriainstanceId- Mandatory id of particular service instancepageIndex- index of current pageitemsPerPage- quantity of consents on one page- Returns:
- Collection of payments 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.
-
-