@RestController @RequestMapping(path="/psu") public class PsuController extends Object
| Constructor and Description |
|---|
PsuController() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPaymentProduct(String psuId,
String product) |
org.springframework.http.ResponseEntity<String> |
createPsu(Psu psu) |
org.springframework.http.ResponseEntity |
deletePsu(String aspspPsuId) |
org.springframework.http.ResponseEntity<List<Psu>> |
readAllPsuList() |
org.springframework.http.ResponseEntity<List<String>> |
readPaymentProductsById(String iban) |
org.springframework.http.ResponseEntity<Psu> |
readPsuById(String psuId) |
org.springframework.http.ResponseEntity<List<AspspAuthenticationObject>> |
readScaMethods(String psuId) |
void |
updateScaMethods(List<AspspAuthenticationObject> scaMethods,
String psuId) |
@GetMapping(path="/") public org.springframework.http.ResponseEntity<List<Psu>> readAllPsuList()
@GetMapping(path="/{psu-id}")
public org.springframework.http.ResponseEntity<Psu> readPsuById(@PathVariable(value="psu-id")
String psuId)
@GetMapping(path="/allowed-payment-products/{iban}")
public org.springframework.http.ResponseEntity<List<String>> readPaymentProductsById(@PathVariable(value="iban")
String iban)
@PutMapping(path="/allowed-payment-products/{psu-id}/{product}")
public void addPaymentProduct(@PathVariable(value="psu-id")
String psuId,
@PathVariable(value="product")
String product)
@PostMapping(path="/") public org.springframework.http.ResponseEntity<String> createPsu(@RequestBody Psu psu)
@DeleteMapping(path="/{aspsp-psu-id}")
public org.springframework.http.ResponseEntity deletePsu(@PathVariable(value="aspsp-psu-id")
String aspspPsuId)
@GetMapping(path="/sca-methods/{psu-id}")
public org.springframework.http.ResponseEntity<List<AspspAuthenticationObject>> readScaMethods(@PathVariable(value="psu-id")
String psuId)
@PutMapping(path="/sca-methods/{psu-id}")
public void updateScaMethods(@RequestBody
List<AspspAuthenticationObject> scaMethods,
@PathVariable(value="psu-id")
String psuId)
Copyright © 2019. All rights reserved.