Interface TppRestApi
-
public interface TppRestApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Void>account(String accountId)org.springframework.http.ResponseEntity<Void>consumeTan(String tan)org.springframework.http.ResponseEntity<BankCodeStructure>getBankCodeStructure(String countryCode)org.springframework.http.ResponseEntity<Set<Currency>>getCurrencies()org.springframework.http.ResponseEntity<String>getRandomTppId(String countryCode)org.springframework.http.ResponseEntity<Map<org.iban4j.CountryCode,String>>getSupportedCountryCodes()voidlogin(String login, String pin)org.springframework.http.ResponseEntity<Void>register(User user)org.springframework.http.ResponseEntity<Void>remove()org.springframework.http.ResponseEntity<Void>revert(de.adorsys.ledgers.middleware.api.domain.general.RevertRequestTO revertRequest)org.springframework.http.ResponseEntity<Void>transactions(String accountId)org.springframework.http.ResponseEntity<Void>user(String userId)
-
-
-
Field Detail
-
BASE_PATH
static final String BASE_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
login
@PostMapping("/login") void login(@RequestHeader("login") String login, @RequestHeader("pin") String pin)
-
getCurrencies
@GetMapping("/currencies") org.springframework.http.ResponseEntity<Set<Currency>> getCurrencies()
-
getSupportedCountryCodes
@GetMapping("/codes") org.springframework.http.ResponseEntity<Map<org.iban4j.CountryCode,String>> getSupportedCountryCodes()
-
getBankCodeStructure
@GetMapping("/country/codes/structure") org.springframework.http.ResponseEntity<BankCodeStructure> getBankCodeStructure(@RequestParam("countryCode") String countryCode)
-
getRandomTppId
@PostMapping("/id") org.springframework.http.ResponseEntity<String> getRandomTppId(@RequestParam("countryCode") String countryCode)
-
register
@PostMapping("/register") org.springframework.http.ResponseEntity<Void> register(@RequestBody User user)
-
remove
@DeleteMapping("/self") org.springframework.http.ResponseEntity<Void> remove()
-
transactions
@DeleteMapping("/transactions/{accountId}") org.springframework.http.ResponseEntity<Void> transactions(@PathVariable("accountId") String accountId)
-
account
@DeleteMapping("/account/{accountId}") org.springframework.http.ResponseEntity<Void> account(@PathVariable("accountId") String accountId)
-
user
@DeleteMapping("/user/{userId}") org.springframework.http.ResponseEntity<Void> user(@PathVariable("userId") String userId)
-
revert
@PostMapping("/revert") org.springframework.http.ResponseEntity<Void> revert(@RequestBody de.adorsys.ledgers.middleware.api.domain.general.RevertRequestTO revertRequest)
-
-