Interface PisCommonPaymentServiceEncrypted


  • public interface PisCommonPaymentServiceEncrypted
    PisCommonPaymentService with enabled encryption and decryption
    See Also:
    PisCommonPaymentServiceBase, PisCommonPaymentService
    • Method Detail

      • getDecryptedId

        CmsResponse<String> getDecryptedId​(String encryptedId)
        Gets original decrypted Id from encrypted string
        Parameters:
        encryptedId - id to be decrypted
        Returns:
        Response containing original decrypted Id
      • createCommonPayment

        CmsResponse<de.adorsys.psd2.consent.api.pis.CreatePisCommonPaymentResponse> createCommonPayment​(PisPaymentInfo request)
      • getPisCommonPaymentStatusById

        CmsResponse<de.adorsys.psd2.xs2a.core.pis.TransactionStatus> getPisCommonPaymentStatusById​(String paymentId)
        Retrieves common payment status from pis payment by payment identifier
        Parameters:
        paymentId - String representation of pis payment identifier
        Returns:
        Information about the status of a common payment
      • getCommonPaymentById

        CmsResponse<PisCommonPaymentResponse> getCommonPaymentById​(String paymentId)
        Reads full information of pis payment by payment identifier
        Parameters:
        paymentId - String representation of pis payment identifier
        Returns:
        Response containing full information about pis payment
      • updateCommonPaymentStatusById

        CmsResponse<Boolean> updateCommonPaymentStatusById​(String paymentId,
                                                           de.adorsys.psd2.xs2a.core.pis.TransactionStatus status)
        Updates pis payment status by payment identifier
        Parameters:
        paymentId - String representation of pis payment identifier
        status - new payment status
        Returns:
        Response containing result of status changing
      • updateMultilevelSca

        CmsResponse<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 updated, false otherwise.
      • getPsuDataListByPaymentId

        CmsResponse<List<de.adorsys.psd2.xs2a.core.psu.PsuIdData>> getPsuDataListByPaymentId​(String paymentId)
        Get information about PSU list by payment identifier
        Parameters:
        paymentId - String representation of the payment identifier
        Returns:
        Response containing information about PSU