public interface PisConsentService
| Modifier and Type | Method and Description |
|---|---|
Optional<CreatePisConsentAuthorisationResponse> |
createAuthorization(String paymentId,
CmsAuthorisationType authorizationType,
de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
Creates consent authorization
|
Optional<CreatePisConsentAuthorisationResponse> |
createAuthorizationCancellation(String paymentId,
CmsAuthorisationType authorizationType,
de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
Creates consent authorization cancellation
|
Optional<CreatePisConsentResponse> |
createPaymentConsent(PisConsentRequest request) |
Optional<List<String>> |
getAuthorisationsByPaymentId(String paymentId,
CmsAuthorisationType authorisationType)
Gets list of payment authorisation IDs by payment ID and authorisation type
|
Optional<PisConsentResponse> |
getConsentById(String consentId)
Reads full information of pis consent by consent identifier
|
Optional<de.adorsys.psd2.xs2a.core.consent.ConsentStatus> |
getConsentStatusById(String consentId)
Retrieves consent status from pis consent by consent identifier
|
Optional<String> |
getDecryptedId(String encryptedId)
Gets original decrypted Id from encrypted string
|
Optional<GetPisConsentAuthorisationResponse> |
getPisConsentAuthorisationById(String authorisationId)
Get information about Authorisation by authorisation identifier
|
Optional<GetPisConsentAuthorisationResponse> |
getPisConsentCancellationAuthorisationById(String cancellationId)
Get information about Authorisation by cancellation identifier
|
Optional<de.adorsys.psd2.xs2a.core.psu.PsuIdData> |
getPsuDataByConsentId(String consentId)
Get information about PSU by consent identifier
|
Optional<de.adorsys.psd2.xs2a.core.psu.PsuIdData> |
getPsuDataByPaymentId(String paymentId)
Get information about PSU by payment identifier
|
Optional<UpdatePisConsentPsuDataResponse> |
updateConsentAuthorisation(String authorisationId,
UpdatePisConsentPsuDataRequest request)
Updates consent authorization
|
Optional<UpdatePisConsentPsuDataResponse> |
updateConsentCancellationAuthorisation(String authorizationId,
UpdatePisConsentPsuDataRequest request)
Updates consent cancellation authorization
|
Optional<Boolean> |
updateConsentStatusById(String consentId,
de.adorsys.psd2.xs2a.core.consent.ConsentStatus status)
Updates pis consent status by consent identifier
|
void |
updatePaymentConsent(PisConsentRequest request,
String consentId)
Updates PIS consent payment data and stores it into database
|
Optional<CreatePisConsentResponse> createPaymentConsent(PisConsentRequest request)
Optional<de.adorsys.psd2.xs2a.core.consent.ConsentStatus> getConsentStatusById(String consentId)
consentId - String representation of pis consent identifierOptional<PisConsentResponse> getConsentById(String consentId)
consentId - String representation of pis consent identifierOptional<Boolean> updateConsentStatusById(String consentId, de.adorsys.psd2.xs2a.core.consent.ConsentStatus status)
consentId - String representation of pis consent identifierstatus - new consent statusOptional<String> getDecryptedId(String encryptedId)
encryptedId - id to be decryptedOptional<CreatePisConsentAuthorisationResponse> createAuthorization(String paymentId, CmsAuthorisationType authorizationType, de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
paymentId - String representation of the payment identifierauthorizationType - Type of authorisationpsuData - Information about PSUOptional<CreatePisConsentAuthorisationResponse> createAuthorizationCancellation(String paymentId, CmsAuthorisationType authorizationType, de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
paymentId - String representation of the payment identifierauthorizationType - Type of authorisationpsuData - Information about PSUOptional<UpdatePisConsentPsuDataResponse> updateConsentAuthorisation(String authorisationId, UpdatePisConsentPsuDataRequest request)
authorisationId - String representation of the authorisation identifierrequest - Incoming request for updating authorizationOptional<UpdatePisConsentPsuDataResponse> updateConsentCancellationAuthorisation(String authorizationId, UpdatePisConsentPsuDataRequest request)
authorizationId - String representation of the authorisation identifierrequest - Incoming request for updating authorizationvoid updatePaymentConsent(PisConsentRequest request, String consentId)
request - PIS consent request for update payment dataconsentId - Consent IDOptional<GetPisConsentAuthorisationResponse> getPisConsentAuthorisationById(String authorisationId)
authorisationId - String representation of the authorisation identifierOptional<GetPisConsentAuthorisationResponse> getPisConsentCancellationAuthorisationById(String cancellationId)
cancellationId - String representation of the cancellation identifierOptional<List<String>> getAuthorisationsByPaymentId(String paymentId, CmsAuthorisationType authorisationType)
paymentId - String representation of the payment identifierauthorisationType - Type of authorisationOptional<de.adorsys.psd2.xs2a.core.psu.PsuIdData> getPsuDataByPaymentId(String paymentId)
paymentId - String representation of the payment identifierCopyright © 2018. All rights reserved.