Class Xs2aPisCommonPaymentMapper


  • @Component
    public class Xs2aPisCommonPaymentMapper
    extends Object
    • Constructor Detail

      • Xs2aPisCommonPaymentMapper

        public Xs2aPisCommonPaymentMapper()
    • Method Detail

      • mapToXsa2CreatePisAuthorisationResponse

        public Optional<Xs2aCreatePisAuthorisationResponse> mapToXsa2CreatePisAuthorisationResponse​(de.adorsys.psd2.consent.api.authorisation.CreateAuthorisationResponse response,
                                                                                                    de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType)
      • mapToXs2aCreatePisCancellationAuthorisationResponse

        public Optional<Xs2aCreatePisCancellationAuthorisationResponse> mapToXs2aCreatePisCancellationAuthorisationResponse​(de.adorsys.psd2.consent.api.authorisation.CreateAuthorisationResponse response,
                                                                                                                            de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType)
      • mapToXs2aPisCommonPayment

        public Xs2aPisCommonPayment mapToXs2aPisCommonPayment​(de.adorsys.psd2.consent.api.pis.CreatePisCommonPaymentResponse response,
                                                              de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
      • mapToUpdateAuthorisationRequest

        public de.adorsys.psd2.consent.api.authorisation.UpdateAuthorisationRequest mapToUpdateAuthorisationRequest​(AuthorisationProcessorResponse response,
                                                                                                                    de.adorsys.psd2.xs2a.core.authorisation.AuthorisationType authorisationType)
      • buildSpiScaConfirmation

        public de.adorsys.psd2.xs2a.spi.domain.authorisation.SpiScaConfirmation buildSpiScaConfirmation​(PaymentAuthorisationParameters request,
                                                                                                        String consentId,
                                                                                                        String paymentId,
                                                                                                        de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)