@RestController @RequestMapping(path="/account") public class AccountController extends Object
| Constructor and Description |
|---|
AccountController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
createAccount(String psuId,
AspspAccountDetails account) |
org.springframework.http.ResponseEntity |
deleteAccount(String accountId) |
org.springframework.http.ResponseEntity<AspspAccountDetails> |
readAccountById(String accountId) |
org.springframework.http.ResponseEntity<List<AspspAccountDetails>> |
readAccountsByIban(String iban) |
org.springframework.http.ResponseEntity<List<AspspAccountDetails>> |
readAccountsByPsuId(String psuId) |
org.springframework.http.ResponseEntity<List<AspspAccountDetails>> |
readAllAccounts() |
org.springframework.http.ResponseEntity<List<AspspAccountBalance>> |
readBalancesById(String accountId) |
@GetMapping(path="/") public org.springframework.http.ResponseEntity<List<AspspAccountDetails>> readAllAccounts()
@GetMapping(path="/{accountId}")
public org.springframework.http.ResponseEntity<AspspAccountDetails> readAccountById(@PathVariable(value="accountId")
String accountId)
@PutMapping(path="/")
public org.springframework.http.ResponseEntity createAccount(@RequestParam
String psuId,
@RequestBody
AspspAccountDetails account)
@DeleteMapping(path="/{accountId}")
public org.springframework.http.ResponseEntity deleteAccount(@PathVariable(value="accountId")
String accountId)
@GetMapping(path="/{accountId}/balances")
public org.springframework.http.ResponseEntity<List<AspspAccountBalance>> readBalancesById(@PathVariable(value="accountId")
String accountId)
@GetMapping(path="/psu/{psuId}")
public org.springframework.http.ResponseEntity<List<AspspAccountDetails>> readAccountsByPsuId(@PathVariable(value="psuId")
String psuId)
@GetMapping(path="/iban/{iban}")
public org.springframework.http.ResponseEntity<List<AspspAccountDetails>> readAccountsByIban(@PathVariable(value="iban")
String iban)
Copyright © 2018. All rights reserved.