Class TppAccountsController
- java.lang.Object
-
- de.adorsys.psd2.sandbox.tpp.rest.server.controller.TppAccountsController
-
- All Implemented Interfaces:
TppAccountsRestApi
@RestController @RequestMapping("/tpp/accounts") public class TppAccountsController extends Object implements TppAccountsRestApi
-
-
Field Summary
-
Fields inherited from interface de.adorsys.psd2.sandbox.tpp.rest.api.resource.TppAccountsRestApi
BASE_PATH
-
-
Constructor Summary
Constructors Constructor Description TppAccountsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<AccountReport>accountReport(String accountId)org.springframework.http.ResponseEntity<Boolean>changeStatus(String accountId)org.springframework.http.ResponseEntity<Void>createAccount(String userId, DepositAccount account)org.springframework.http.ResponseEntity<Void>depositCash(String accountId, de.adorsys.ledgers.middleware.api.domain.payment.AmountTO amount)org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>downloadAccountTemplate()org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO>getAccountDetailsByIban(String iban)org.springframework.http.ResponseEntity<List<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO>>getAllAccounts()org.springframework.http.ResponseEntity<de.adorsys.ledgers.util.domain.CustomPageImpl<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO>>getAllAccounts(String queryParam, int page, int size)org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO>getSingleAccount(String accountId)org.springframework.http.ResponseEntity<Void>updateAccountAccess(AccountAccess accountAccess)
-
-
-
Method Detail
-
createAccount
public org.springframework.http.ResponseEntity<Void> createAccount(String userId, DepositAccount account)
- Specified by:
createAccountin interfaceTppAccountsRestApi
-
updateAccountAccess
public org.springframework.http.ResponseEntity<Void> updateAccountAccess(AccountAccess accountAccess)
- Specified by:
updateAccountAccessin interfaceTppAccountsRestApi
-
getAllAccounts
public org.springframework.http.ResponseEntity<List<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO>> getAllAccounts()
- Specified by:
getAllAccountsin interfaceTppAccountsRestApi
-
getAllAccounts
public org.springframework.http.ResponseEntity<de.adorsys.ledgers.util.domain.CustomPageImpl<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO>> getAllAccounts(String queryParam, int page, int size)
- Specified by:
getAllAccountsin interfaceTppAccountsRestApi
-
getAccountDetailsByIban
public org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO> getAccountDetailsByIban(String iban)
- Specified by:
getAccountDetailsByIbanin interfaceTppAccountsRestApi
-
getSingleAccount
public org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO> getSingleAccount(String accountId)
- Specified by:
getSingleAccountin interfaceTppAccountsRestApi
-
accountReport
public org.springframework.http.ResponseEntity<AccountReport> accountReport(String accountId)
- Specified by:
accountReportin interfaceTppAccountsRestApi
-
depositCash
public org.springframework.http.ResponseEntity<Void> depositCash(String accountId, de.adorsys.ledgers.middleware.api.domain.payment.AmountTO amount)
- Specified by:
depositCashin interfaceTppAccountsRestApi
-
downloadAccountTemplate
public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadAccountTemplate()
- Specified by:
downloadAccountTemplatein interfaceTppAccountsRestApi
-
changeStatus
public org.springframework.http.ResponseEntity<Boolean> changeStatus(String accountId)
- Specified by:
changeStatusin interfaceTppAccountsRestApi
-
-