Interface UpdatePaymentAfterSpiServiceEncrypted
-
public interface UpdatePaymentAfterSpiServiceEncryptedService 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CmsResponse<Boolean>updatePaymentCancellationInternalRequestId(@NotNull String paymentId, @NotNull String internalRequestId)Updates cancellation internal request ID of Payment object by its IDCmsResponse<Boolean>updatePaymentCancellationTppRedirectUri(@NotNull String paymentId, @NotNull de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri tppRedirectUri)Updates a Tpp Info of Payment object by its IDCmsResponse<Boolean>updatePaymentStatus(@NotNull String paymentId, @NotNull de.adorsys.psd2.xs2a.core.pis.TransactionStatus status)Updates a Status of Payment object by its ID and PSU ID
-
-
-
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 Paymentstatus- 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 PaymenttppRedirectUri- 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 PaymentinternalRequestId- Internal Request ID- Returns:
- true if the internal request ID was updated, false otherwise
-
-