Interface UpdatePaymentAfterSpiServiceEncrypted


  • public interface UpdatePaymentAfterSpiServiceEncrypted
    Service to be used to update payment status ONLY after getting SPI service result. Should not be used for any other business logic purposes. This is UpdatePaymentAfterSpiService with enabled encryption and decryption.
    See Also:
    UpdatePaymentAfterSpiServiceBase, UpdatePaymentAfterSpiService
    • Method Detail

      • updatePaymentStatus

        CmsResponse<Boolean> updatePaymentStatus​(@NotNull
                                                 @NotNull String paymentId,
                                                 @NotNull
                                                 @NotNull de.adorsys.psd2.xs2a.core.pis.TransactionStatus status)
        Updates a Status of Payment object by its ID and PSU ID
        Parameters:
        paymentId - ID of Payment
        status - Status of Payment to be set
        Returns:
        true if the status was updated, false otherwise
      • updateInternalPaymentStatus

        CmsResponse<Boolean> updateInternalPaymentStatus​(@NotNull
                                                         @NotNull String paymentId,
                                                         @NotNull
                                                         @NotNull de.adorsys.psd2.xs2a.core.pis.InternalPaymentStatus status)
        Updates a Status of Payment object by its ID and PSU ID
        Parameters:
        paymentId - ID of Payment
        status - Status of Payment to be set
        Returns:
        true if the status was updated, false otherwise
      • updatePaymentCancellationTppRedirectUri

        CmsResponse<Boolean> updatePaymentCancellationTppRedirectUri​(@NotNull
                                                                     @NotNull String paymentId,
                                                                     @NotNull
                                                                     @NotNull de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri tppRedirectUri)
        Updates a Tpp Info of Payment object by its ID
        Parameters:
        paymentId - ID of Payment
        tppRedirectUri - Tpp redirect URIs
        Returns:
        true if the status was updated, false otherwise
      • updatePaymentCancellationInternalRequestId

        CmsResponse<Boolean> updatePaymentCancellationInternalRequestId​(@NotNull
                                                                        @NotNull String paymentId,
                                                                        @NotNull
                                                                        @NotNull String internalRequestId)
        Updates cancellation internal request ID of Payment object by its ID
        Parameters:
        paymentId - ID of Payment
        internalRequestId - Internal Request ID
        Returns:
        true if the internal request ID was updated, false otherwise