Class Xs2aPisCommonPaymentService


  • @Service
    public class Xs2aPisCommonPaymentService
    extends Object
    • Constructor Detail

      • Xs2aPisCommonPaymentService

        public Xs2aPisCommonPaymentService()
    • Method Detail

      • createCommonPayment

        public de.adorsys.psd2.consent.api.pis.CreatePisCommonPaymentResponse createCommonPayment​(de.adorsys.psd2.consent.api.pis.proto.PisPaymentInfo request)
      • getPisCommonPaymentById

        public Optional<de.adorsys.psd2.consent.api.pis.PisCommonPaymentResponse> getPisCommonPaymentById​(String paymentId)
      • updateMultilevelSca

        public boolean updateMultilevelSca​(String paymentId,
                                           boolean multilevelScaRequired)
        Updates multilevelScaRequired and stores changes into database
        Parameters:
        paymentId - Payment ID
        multilevelScaRequired - new value for boolean multilevel sca required
        Returns:
        true if payment was found and multilevel sca flag was updated, false otherwise