Interface PisCommonPaymentServiceEncrypted
-
public interface PisCommonPaymentServiceEncryptedPisCommonPaymentService with enabled encryption and decryption- See Also:
PisCommonPaymentServiceBase,PisCommonPaymentService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CmsResponse<de.adorsys.psd2.consent.api.pis.CreatePisCommonPaymentResponse>createCommonPayment(PisPaymentInfo request)CmsResponse<PisCommonPaymentResponse>getCommonPaymentById(String paymentId)Reads full information of pis payment by payment identifierCmsResponse<String>getDecryptedId(String encryptedId)Gets original decrypted Id from encrypted stringCmsResponse<de.adorsys.psd2.xs2a.core.pis.TransactionStatus>getPisCommonPaymentStatusById(String paymentId)Retrieves common payment status from pis payment by payment identifierCmsResponse<List<de.adorsys.psd2.xs2a.core.psu.PsuIdData>>getPsuDataListByPaymentId(String paymentId)Get information about PSU list by payment identifierCmsResponse<CmsResponse.VoidResponse>updateCommonPayment(PisCommonPaymentRequest request, String paymentId)Updates PIS payment data and stores it into databaseCmsResponse<Boolean>updateCommonPaymentStatusById(String paymentId, de.adorsys.psd2.xs2a.core.pis.TransactionStatus status)Updates pis payment status by payment identifierCmsResponse<Boolean>updateMultilevelSca(String paymentId, boolean multilevelScaRequired)Updates multilevelScaRequired and stores changes into database
-
-
-
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 identifierstatus- new payment status- Returns:
- Response containing result of status changing
-
updateCommonPayment
CmsResponse<CmsResponse.VoidResponse> updateCommonPayment(PisCommonPaymentRequest request, String paymentId)
Updates PIS payment data and stores it into database- Parameters:
request- PIS payment request for update payment datapaymentId- Payment ID
-
updateMultilevelSca
CmsResponse<Boolean> updateMultilevelSca(String paymentId, boolean multilevelScaRequired)
Updates multilevelScaRequired and stores changes into database- Parameters:
paymentId- Payment IDmultilevelScaRequired- new value for boolean multilevel sca required
-
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
-
-