Class Xs2aEventService


  • @Service
    public class Xs2aEventService
    extends Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void recordAisTppRequest​(@NotNull String consentId, @NotNull de.adorsys.psd2.event.core.model.EventType eventType)
      Records TPP request to the AIS in the CMS in form of TPP event for given consent id and event type
      void recordAisTppRequest​(@NotNull String consentId, @NotNull de.adorsys.psd2.event.core.model.EventType eventType, @Nullable Object body)
      Records TPP request to the AIS in the CMS in form of TPP event for given consent id, event type and request body
      void recordPisTppRequest​(@NotNull String paymentId, @NotNull de.adorsys.psd2.event.core.model.EventType eventType)
      Records TPP request to the PIS in the CMS in form of TPP event for given payment id and event type
      void recordPisTppRequest​(@NotNull String paymentId, @NotNull de.adorsys.psd2.event.core.model.EventType eventType, @Nullable Object body)
      Records TPP request to the PIS in the CMS in form of TPP event for given payment id, event type and request body
      void recordTppRequest​(@NotNull de.adorsys.psd2.event.core.model.EventType eventType)
      Records generic TPP request in the CMS in form of TPP event for given event type
      void recordTppRequest​(@NotNull de.adorsys.psd2.event.core.model.EventType eventType, @Nullable Object body)
      Records generic TPP request in the CMS in form of TPP event for given event type and request body
    • Constructor Detail

      • Xs2aEventService

        public Xs2aEventService()
    • Method Detail

      • recordAisTppRequest

        public void recordAisTppRequest​(@NotNull
                                        @NotNull String consentId,
                                        @NotNull
                                        @NotNull de.adorsys.psd2.event.core.model.EventType eventType)
        Records TPP request to the AIS in the CMS in form of TPP event for given consent id and event type
        Parameters:
        consentId - Consent id that will be recorded along with the event
        eventType - Type of the event
      • recordAisTppRequest

        public void recordAisTppRequest​(@NotNull
                                        @NotNull String consentId,
                                        @NotNull
                                        @NotNull de.adorsys.psd2.event.core.model.EventType eventType,
                                        @Nullable
                                        @Nullable Object body)
        Records TPP request to the AIS in the CMS in form of TPP event for given consent id, event type and request body
        Parameters:
        consentId - Consent id that will be recorded along with the event
        eventType - Type of the event
        body - Body of the request
      • recordPisTppRequest

        public void recordPisTppRequest​(@NotNull
                                        @NotNull String paymentId,
                                        @NotNull
                                        @NotNull de.adorsys.psd2.event.core.model.EventType eventType)
        Records TPP request to the PIS in the CMS in form of TPP event for given payment id and event type
        Parameters:
        paymentId - Payment id that will be recorded along with the event
        eventType - Type of the event
      • recordPisTppRequest

        public void recordPisTppRequest​(@NotNull
                                        @NotNull String paymentId,
                                        @NotNull
                                        @NotNull de.adorsys.psd2.event.core.model.EventType eventType,
                                        @Nullable
                                        @Nullable Object body)
        Records TPP request to the PIS in the CMS in form of TPP event for given payment id, event type and request body
        Parameters:
        paymentId - Payment id that will be recorded along with the event
        eventType - Type of the event
        body - Body of the request
      • recordTppRequest

        public void recordTppRequest​(@NotNull
                                     @NotNull de.adorsys.psd2.event.core.model.EventType eventType)
        Records generic TPP request in the CMS in form of TPP event for given event type
        Parameters:
        eventType - Type of event
      • recordTppRequest

        public void recordTppRequest​(@NotNull
                                     @NotNull de.adorsys.psd2.event.core.model.EventType eventType,
                                     @Nullable
                                     @Nullable Object body)
        Records generic TPP request in the CMS in form of TPP event for given event type and request body
        Parameters:
        eventType - Type of event
        body - Body of the request