@Service public class PisConsentService extends Object
| Constructor and Description |
|---|
PisConsentService() |
| Modifier and Type | Method and Description |
|---|---|
SpiCreatePisConsentAuthorizationResponse |
createPisConsentAuthorisation(String paymentId)
Sends a POST request to CMS to store created consent authorization
|
CreatePisConsentResponse |
createPisConsentForBulkPayment(CreatePisConsentData createPisConsentData)
Sends a POST request to CMS to store created PIS consent for bulk payment
|
CreatePisConsentResponse |
createPisConsentForPeriodicPayment(CreatePisConsentData createPisConsentData,
String paymentId)
Sends a POST request to CMS to store created PIS consent for periodic payment
|
CreatePisConsentResponse |
createPisConsentForSinglePayment(CreatePisConsentData createPisConsentData,
String paymentId)
Sends a POST request to CMS to store created PIS consent for single payment
|
UpdatePisConsentPsuDataResponse |
updatePisConsentAuthorisation(UpdatePisConsentPsuDataRequest request)
Updates PIS consent authorization according to psu's sca methods
|
public CreatePisConsentResponse createPisConsentForSinglePayment(CreatePisConsentData createPisConsentData, String paymentId)
createPisConsentData - Provides transporting data when creating an consentpaymentId - String identifier of the paymentpublic CreatePisConsentResponse createPisConsentForBulkPayment(CreatePisConsentData createPisConsentData)
createPisConsentData - Provides transporting data when creating an consentpublic CreatePisConsentResponse createPisConsentForPeriodicPayment(CreatePisConsentData createPisConsentData, String paymentId)
createPisConsentData - Provides transporting data when creating an consentpaymentId - String identifier of the paymentpublic SpiCreatePisConsentAuthorizationResponse createPisConsentAuthorisation(String paymentId)
paymentId - String representation of identifier of stored consentpublic UpdatePisConsentPsuDataResponse updatePisConsentAuthorisation(UpdatePisConsentPsuDataRequest request)
request - Provides transporting data when updating consent authorizationCopyright © 2018 Pivotal Software, Inc.. All rights reserved.