@RestController public class ConsentController extends AbstractController implements ConsentApi, AccountApi
| Constructor and Description |
|---|
ConsentController(de.adorsys.xs2a.adapter.service.AccountInformationService accountInformationService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
HeadersMapper headersMapper) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<ConsentsResponse201TO> |
createConsent(Map<String,String> headers,
ConsentsTO body) |
org.springframework.http.ResponseEntity<Void> |
deleteConsent(String consentId,
Map<String,String> headers) |
org.springframework.http.ResponseEntity<AccountListTO> |
getAccountList(Boolean withBalance,
Map<String,String> headers) |
org.springframework.http.ResponseEntity<ReadAccountBalanceResponse200TO> |
getBalances(String accountId,
Map<String,String> headers) |
org.springframework.http.ResponseEntity<ConsentInformationResponse200JsonTO> |
getConsentInformation(String consentId,
Map<String,String> headers) |
org.springframework.http.ResponseEntity<ScaStatusResponseTO> |
getConsentScaStatus(String consentId,
String authorisationId,
Map<String,String> headers) |
org.springframework.http.ResponseEntity<ConsentStatusResponse200TO> |
getConsentStatus(String consentId,
Map<String,String> headers) |
org.springframework.http.ResponseEntity<OK200TransactionDetailsTO> |
getTransactionDetails(String accountId,
String transactionId,
Map<String,String> headers) |
org.springframework.http.ResponseEntity<Object> |
getTransactionList(String accountId,
LocalDate dateFrom,
LocalDate dateTo,
String entryReferenceFrom,
BookingStatusTO bookingStatus,
Boolean deltaList,
Boolean withBalance,
Map<String,String> headers) |
org.springframework.http.ResponseEntity<StartScaprocessResponseTO> |
startConsentAuthorisation(String consentId,
Map<String,String> headers,
com.fasterxml.jackson.databind.node.ObjectNode body) |
org.springframework.http.ResponseEntity<Object> |
updateConsentsPsuData(String consentId,
String authorisationId,
Map<String,String> headers,
com.fasterxml.jackson.databind.node.ObjectNode body) |
public static final String CONSENTS
public ConsentController(de.adorsys.xs2a.adapter.service.AccountInformationService accountInformationService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
HeadersMapper headersMapper)
public org.springframework.http.ResponseEntity<ConsentsResponse201TO> createConsent(Map<String,String> headers, ConsentsTO body)
createConsent in interface ConsentApipublic org.springframework.http.ResponseEntity<ConsentInformationResponse200JsonTO> getConsentInformation(String consentId, Map<String,String> headers)
getConsentInformation in interface ConsentApipublic org.springframework.http.ResponseEntity<Void> deleteConsent(String consentId, Map<String,String> headers)
deleteConsent in interface ConsentApipublic org.springframework.http.ResponseEntity<ConsentStatusResponse200TO> getConsentStatus(String consentId, Map<String,String> headers)
getConsentStatus in interface ConsentApipublic org.springframework.http.ResponseEntity<StartScaprocessResponseTO> startConsentAuthorisation(String consentId, Map<String,String> headers, com.fasterxml.jackson.databind.node.ObjectNode body)
startConsentAuthorisation in interface ConsentApipublic org.springframework.http.ResponseEntity<Object> updateConsentsPsuData(String consentId, String authorisationId, Map<String,String> headers, com.fasterxml.jackson.databind.node.ObjectNode body)
updateConsentsPsuData in interface ConsentApipublic org.springframework.http.ResponseEntity<AccountListTO> getAccountList(Boolean withBalance, Map<String,String> headers)
getAccountList in interface AccountApipublic org.springframework.http.ResponseEntity<Object> getTransactionList(String accountId, LocalDate dateFrom, LocalDate dateTo, String entryReferenceFrom, BookingStatusTO bookingStatus, Boolean deltaList, Boolean withBalance, Map<String,String> headers)
getTransactionList in interface AccountApipublic org.springframework.http.ResponseEntity<OK200TransactionDetailsTO> getTransactionDetails(String accountId, String transactionId, Map<String,String> headers)
getTransactionDetails in interface AccountApipublic org.springframework.http.ResponseEntity<ScaStatusResponseTO> getConsentScaStatus(String consentId, String authorisationId, Map<String,String> headers)
getConsentScaStatus in interface ConsentApipublic org.springframework.http.ResponseEntity<ReadAccountBalanceResponse200TO> getBalances(String accountId, Map<String,String> headers)
getBalances in interface AccountApiCopyright © 2020. All rights reserved.