@Service public class PisAuthorisationService extends Object
| Constructor and Description |
|---|
PisAuthorisationService() |
| Modifier and Type | Method and Description |
|---|---|
CreatePisConsentAuthorisationResponse |
createPisConsentAuthorisation(String paymentId,
PsuIdData psuData)
Sends a POST request to CMS to store created consent authorization
|
CreatePisConsentAuthorisationResponse |
createPisConsentAuthorisationCancellation(String paymentId,
PsuIdData psuData)
Sends a POST request to CMS to store created consent authorization cancellation
|
void |
doUpdatePisConsentAuthorisation(UpdatePisConsentPsuDataRequest request) |
String |
getCancellationAuthorisationSubResources(String paymentId)
Sends a GET request to CMS to get authorization sub resources
|
Xs2aUpdatePisConsentPsuDataResponse |
updatePisConsentAuthorisation(UpdatePisConsentPsuDataRequest request)
Updates PIS consent authorization according to psu's sca methods
|
public CreatePisConsentAuthorisationResponse createPisConsentAuthorisation(String paymentId, PsuIdData psuData)
paymentId - String representation of identifier of stored consentpublic Xs2aUpdatePisConsentPsuDataResponse updatePisConsentAuthorisation(UpdatePisConsentPsuDataRequest request)
request - Provides transporting data when updating consent authorizationpublic void doUpdatePisConsentAuthorisation(UpdatePisConsentPsuDataRequest request)
public CreatePisConsentAuthorisationResponse createPisConsentAuthorisationCancellation(String paymentId, PsuIdData psuData)
paymentId - String representation of identifier of payment IDpublic String getCancellationAuthorisationSubResources(String paymentId)
paymentId - String representation of identifier of payment IDCopyright © 2018 Pivotal Software, Inc.. All rights reserved.