Class TppController
- java.lang.Object
-
- de.adorsys.psd2.sandbox.tpp.rest.server.controller.TppController
-
- All Implemented Interfaces:
TppRestApi
@RestController @RequestMapping("/tpp") public class TppController extends Object implements TppRestApi
-
-
Field Summary
-
Fields inherited from interface de.adorsys.psd2.sandbox.tpp.rest.api.resource.TppRestApi
BASE_PATH
-
-
Constructor Summary
Constructors Constructor Description TppController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Void>account(String accountId)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)
-
-
-
Method Detail
-
login
public void login(String login, String pin)
- Specified by:
loginin interfaceTppRestApi
-
getCurrencies
public org.springframework.http.ResponseEntity<Set<Currency>> getCurrencies()
- Specified by:
getCurrenciesin interfaceTppRestApi
-
getSupportedCountryCodes
public org.springframework.http.ResponseEntity<Map<org.iban4j.CountryCode,String>> getSupportedCountryCodes()
- Specified by:
getSupportedCountryCodesin interfaceTppRestApi
-
getBankCodeStructure
public org.springframework.http.ResponseEntity<BankCodeStructure> getBankCodeStructure(String countryCode)
- Specified by:
getBankCodeStructurein interfaceTppRestApi
-
getRandomTppId
public org.springframework.http.ResponseEntity<String> getRandomTppId(String countryCode)
- Specified by:
getRandomTppIdin interfaceTppRestApi
-
register
public org.springframework.http.ResponseEntity<Void> register(User user)
- Specified by:
registerin interfaceTppRestApi
-
remove
public org.springframework.http.ResponseEntity<Void> remove()
- Specified by:
removein interfaceTppRestApi
-
transactions
public org.springframework.http.ResponseEntity<Void> transactions(String accountId)
- Specified by:
transactionsin interfaceTppRestApi
-
account
public org.springframework.http.ResponseEntity<Void> account(String accountId)
- Specified by:
accountin interfaceTppRestApi
-
user
public org.springframework.http.ResponseEntity<Void> user(String userId)
- Specified by:
userin interfaceTppRestApi
-
revert
public org.springframework.http.ResponseEntity<Void> revert(de.adorsys.ledgers.middleware.api.domain.general.RevertRequestTO revertRequest)
- Specified by:
revertin interfaceTppRestApi
-
-