Class PaymentController

    • Constructor Summary

      Constructors 
      Constructor Description
      PaymentController​(de.adorsys.xs2a.adapter.api.PaymentInitiationService paymentService, HeadersMapper headersMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity<Object> getPaymentInformation​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService, de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct, String paymentId, Map<String,​String> parameters, Map<String,​String> headers)  
      org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.Authorisations> getPaymentInitiationAuthorisation​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService, de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct, String paymentId, Map<String,​String> parameters, Map<String,​String> headers)  
      org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.ScaStatusResponse> getPaymentInitiationScaStatus​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService, de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct, String paymentId, String authorisationId, Map<String,​String> parameters, Map<String,​String> headers)  
      org.springframework.http.ResponseEntity<Object> getPaymentInitiationStatus​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService, de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct, String paymentId, Map<String,​String> parameters, Map<String,​String> headers)  
      org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.PaymentInitationRequestResponse201> initiatePayment​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService, de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct, Map<String,​String> parameters, Map<String,​String> headers, com.fasterxml.jackson.databind.node.ObjectNode body)  
      org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.PaymentInitationRequestResponse201> initiatePayment​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService, de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct, Map<String,​String> parameters, Map<String,​String> headers, de.adorsys.xs2a.adapter.api.model.PeriodicPaymentInitiationMultipartBody body)  
      org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.PaymentInitationRequestResponse201> initiatePayment​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService, de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct, Map<String,​String> parameters, Map<String,​String> headers, String body)  
      org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.StartScaprocessResponse> startPaymentAuthorisation​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService, de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct, String paymentId, Map<String,​String> parameters, Map<String,​String> headers, com.fasterxml.jackson.databind.node.ObjectNode body)  
      org.springframework.http.ResponseEntity<Object> updatePaymentPsuData​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService, de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct, String paymentId, String authorisationId, Map<String,​String> parameters, Map<String,​String> headers, com.fasterxml.jackson.databind.node.ObjectNode body)  
    • Constructor Detail

      • PaymentController

        public PaymentController​(de.adorsys.xs2a.adapter.api.PaymentInitiationService paymentService,
                                 HeadersMapper headersMapper,
                                 com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • initiatePayment

        public org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.PaymentInitationRequestResponse201> initiatePayment​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService,
                                                                                                                                             de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct,
                                                                                                                                             Map<String,​String> parameters,
                                                                                                                                             Map<String,​String> headers,
                                                                                                                                             de.adorsys.xs2a.adapter.api.model.PeriodicPaymentInitiationMultipartBody body)
        Specified by:
        initiatePayment in interface PaymentApi
      • initiatePayment

        public org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.PaymentInitationRequestResponse201> initiatePayment​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService,
                                                                                                                                             de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct,
                                                                                                                                             Map<String,​String> parameters,
                                                                                                                                             Map<String,​String> headers,
                                                                                                                                             com.fasterxml.jackson.databind.node.ObjectNode body)
        Specified by:
        initiatePayment in interface PaymentApi
      • initiatePayment

        public org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.PaymentInitationRequestResponse201> initiatePayment​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService,
                                                                                                                                             de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct,
                                                                                                                                             Map<String,​String> parameters,
                                                                                                                                             Map<String,​String> headers,
                                                                                                                                             String body)
        Specified by:
        initiatePayment in interface PaymentApi
      • getPaymentInformation

        public org.springframework.http.ResponseEntity<Object> getPaymentInformation​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService,
                                                                                     de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct,
                                                                                     String paymentId,
                                                                                     Map<String,​String> parameters,
                                                                                     Map<String,​String> headers)
        Specified by:
        getPaymentInformation in interface PaymentApi
      • getPaymentInitiationScaStatus

        public org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.ScaStatusResponse> getPaymentInitiationScaStatus​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService,
                                                                                                                                          de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct,
                                                                                                                                          String paymentId,
                                                                                                                                          String authorisationId,
                                                                                                                                          Map<String,​String> parameters,
                                                                                                                                          Map<String,​String> headers)
        Specified by:
        getPaymentInitiationScaStatus in interface PaymentApi
      • getPaymentInitiationStatus

        public org.springframework.http.ResponseEntity<Object> getPaymentInitiationStatus​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService,
                                                                                          de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct,
                                                                                          String paymentId,
                                                                                          Map<String,​String> parameters,
                                                                                          Map<String,​String> headers)
        Specified by:
        getPaymentInitiationStatus in interface PaymentApi
      • getPaymentInitiationAuthorisation

        public org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.Authorisations> getPaymentInitiationAuthorisation​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService,
                                                                                                                                           de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct,
                                                                                                                                           String paymentId,
                                                                                                                                           Map<String,​String> parameters,
                                                                                                                                           Map<String,​String> headers)
        Specified by:
        getPaymentInitiationAuthorisation in interface PaymentApi
      • startPaymentAuthorisation

        public org.springframework.http.ResponseEntity<de.adorsys.xs2a.adapter.api.model.StartScaprocessResponse> startPaymentAuthorisation​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService,
                                                                                                                                            de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct,
                                                                                                                                            String paymentId,
                                                                                                                                            Map<String,​String> parameters,
                                                                                                                                            Map<String,​String> headers,
                                                                                                                                            com.fasterxml.jackson.databind.node.ObjectNode body)
        Specified by:
        startPaymentAuthorisation in interface PaymentApi
      • updatePaymentPsuData

        public org.springframework.http.ResponseEntity<Object> updatePaymentPsuData​(de.adorsys.xs2a.adapter.api.model.PaymentService paymentService,
                                                                                    de.adorsys.xs2a.adapter.api.model.PaymentProduct paymentProduct,
                                                                                    String paymentId,
                                                                                    String authorisationId,
                                                                                    Map<String,​String> parameters,
                                                                                    Map<String,​String> headers,
                                                                                    com.fasterxml.jackson.databind.node.ObjectNode body)
        Specified by:
        updatePaymentPsuData in interface PaymentApi