@Service @Transactional(readOnly=true) public class PisCommonPaymentServiceInternal extends Object implements de.adorsys.psd2.consent.api.service.PisCommonPaymentService
| Constructor and Description |
|---|
PisCommonPaymentServiceInternal() |
| Modifier and Type | Method and Description |
|---|---|
de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.consent.api.pis.CreatePisCommonPaymentResponse> |
createCommonPayment(de.adorsys.psd2.consent.api.pis.proto.PisPaymentInfo request)
Creates new pis common payment with full information about payment
|
de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.consent.api.pis.proto.PisCommonPaymentResponse> |
getCommonPaymentById(String paymentId)
Reads full information of pis common payment by payment identifier
|
de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.xs2a.core.pis.TransactionStatus> |
getPisCommonPaymentStatusById(String paymentId)
Retrieves common payment status from pis common payment by payment identifier
|
de.adorsys.psd2.consent.api.CmsResponse<List<de.adorsys.psd2.xs2a.core.psu.PsuIdData>> |
getPsuDataListByPaymentId(String paymentId)
Reads PSU data list by payment Id
|
de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.consent.api.CmsResponse.VoidResponse> |
updateCommonPayment(de.adorsys.psd2.consent.api.pis.proto.PisCommonPaymentRequest request,
String paymentId)
Update PIS common payment payment data and stores it into database
|
de.adorsys.psd2.consent.api.CmsResponse<Boolean> |
updateCommonPaymentStatusById(String paymentId,
de.adorsys.psd2.xs2a.core.pis.TransactionStatus status)
Updates pis common payment status by payment identifier
|
de.adorsys.psd2.consent.api.CmsResponse<Boolean> |
updateMultilevelSca(String paymentId,
boolean multilevelScaRequired)
Updates multilevelScaRequired and stores changes into database
|
@Transactional public de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.consent.api.pis.CreatePisCommonPaymentResponse> createCommonPayment(de.adorsys.psd2.consent.api.pis.proto.PisPaymentInfo request)
request - Consists information about payments.@Transactional public de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.xs2a.core.pis.TransactionStatus> getPisCommonPaymentStatusById(String paymentId)
paymentId - String representation of pis payment identifier@Transactional public de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.consent.api.pis.proto.PisCommonPaymentResponse> getCommonPaymentById(String paymentId)
paymentId - String representation of pis payment identifier@Transactional public de.adorsys.psd2.consent.api.CmsResponse<Boolean> updateCommonPaymentStatusById(String paymentId, de.adorsys.psd2.xs2a.core.pis.TransactionStatus status)
paymentId - String representation of pis payment identifierstatus - new common payment status@Transactional
public de.adorsys.psd2.consent.api.CmsResponse<de.adorsys.psd2.consent.api.CmsResponse.VoidResponse> updateCommonPayment(de.adorsys.psd2.consent.api.pis.proto.PisCommonPaymentRequest request,
String paymentId)
request - PIS common payment request for update payment datapaymentId - common payment ID@Transactional public de.adorsys.psd2.consent.api.CmsResponse<Boolean> updateMultilevelSca(String paymentId, boolean multilevelScaRequired)
paymentId - Payment IDmultilevelScaRequired - new value for boolean multilevel sca requiredCopyright © 2020. All rights reserved.