@RestController @RequestMapping(path="api/v1/pis/consent") public class PisConsentController extends Object
| Constructor and Description |
|---|
PisConsentController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<CreatePisConsentAuthorisationResponse> |
createConsentAuthorization(String paymentId) |
org.springframework.http.ResponseEntity<CreatePisConsentResponse> |
createPaymentConsent(PisConsentRequest request) |
org.springframework.http.ResponseEntity<GetPisConsentAuthorisationResponse> |
getConsentAuthorization(String authorizationId) |
org.springframework.http.ResponseEntity<PisConsentResponse> |
getConsentById(String consentId) |
org.springframework.http.ResponseEntity<PisConsentStatusResponse> |
getConsentStatusById(String consentId) |
org.springframework.http.ResponseEntity<UpdatePisConsentPsuDataResponse> |
updateConsentAuthorization(String authorizationId,
UpdatePisConsentPsuDataRequest request) |
org.springframework.http.ResponseEntity<Void> |
updateConsentStatus(String consentId,
String status) |
@PostMapping(path="/") public org.springframework.http.ResponseEntity<CreatePisConsentResponse> createPaymentConsent(@RequestBody PisConsentRequest request)
@GetMapping(path="/{consent-id}/status")
public org.springframework.http.ResponseEntity<PisConsentStatusResponse> getConsentStatusById(@PathVariable(value="consent-id")
String consentId)
@GetMapping(path="/{consent-id}")
public org.springframework.http.ResponseEntity<PisConsentResponse> getConsentById(@PathVariable(value="consent-id")
String consentId)
@PutMapping(path="/{consent-id}/status/{status}")
public org.springframework.http.ResponseEntity<Void> updateConsentStatus(@PathVariable(value="consent-id")
String consentId,
@PathVariable(value="status")
String status)
@PostMapping(path="/{payment-id}/authorizations")
public org.springframework.http.ResponseEntity<CreatePisConsentAuthorisationResponse> createConsentAuthorization(@PathVariable(value="payment-id")
String paymentId)
@PutMapping(path="/authorizations/{authorization-id}")
public org.springframework.http.ResponseEntity<UpdatePisConsentPsuDataResponse> updateConsentAuthorization(@PathVariable(value="authorization-id")
String authorizationId,
@RequestBody
UpdatePisConsentPsuDataRequest request)
@GetMapping(path="/authorizations/{authorization-id}")
public org.springframework.http.ResponseEntity<GetPisConsentAuthorisationResponse> getConsentAuthorization(@PathVariable(value="authorization-id")
String authorizationId)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.