public class EmbeddedPisScaAuthorisationService extends Object implements PisScaAuthorisationService
| Constructor and Description |
|---|
EmbeddedPisScaAuthorisationService() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Xsa2CreatePisConsentAuthorisationResponse> |
createConsentAuthorisation(String paymentId,
PaymentType paymentType,
PsuIdData psuData)
Creates authorization for pis consent
|
Optional<Xs2aCreatePisConsentCancellationAuthorisationResponse> |
createConsentCancellationAuthorisation(String paymentId,
PaymentType paymentType,
PsuIdData psuData)
Creates authorization cancellation for pis consent
|
Optional<Xs2aPaymentCancellationAuthorisationSubResource> |
getCancellationAuthorisationSubResources(String paymentId)
Gets authorization cancellation sub resources
|
Xs2aUpdatePisConsentPsuDataResponse |
updateConsentPsuData(UpdatePisConsentPsuDataRequest request)
Updates authorization for pis consent
|
public Optional<Xsa2CreatePisConsentAuthorisationResponse> createConsentAuthorisation(String paymentId, PaymentType paymentType, PsuIdData psuData)
createConsentAuthorisation in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of a paymentpaymentType - Type of paymentpsuData - PsuIdData container of authorisation data about PSUpublic Xs2aUpdatePisConsentPsuDataResponse updateConsentPsuData(UpdatePisConsentPsuDataRequest request)
updateConsentPsuData in interface PisScaAuthorisationServicerequest - Provides transporting data when updating consent psu datapublic Optional<Xs2aCreatePisConsentCancellationAuthorisationResponse> createConsentCancellationAuthorisation(String paymentId, PaymentType paymentType, PsuIdData psuData)
createConsentCancellationAuthorisation in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of a paymentpaymentType - Type of paymentpublic Optional<Xs2aPaymentCancellationAuthorisationSubResource> getCancellationAuthorisationSubResources(String paymentId)
getCancellationAuthorisationSubResources in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of a paymentCopyright © 2018 Pivotal Software, Inc.. All rights reserved.