Interface TppRestApi
-
public interface TppRestApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<BankCodeStructure>getBankCodeStructure(String countryCode)org.springframework.http.ResponseEntity<Set<Currency>>getCurrencies()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>transactions(String accountId)
-
-
-
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 String countryCode)
-
register
@PostMapping("/register") org.springframework.http.ResponseEntity<Void> register(@RequestBody User user)
-
remove
@DeleteMapping("/self") org.springframework.http.ResponseEntity<Void> remove()
-
-