public interface TppAccountsRestApi
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<AccountReport> |
accountReport(String accountId)
Returns an account report by its ID if it belong to the same branch as STAFF user.
|
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)
Returns a single account by its ID if it belong to the same branch as STAFF user.
|
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()
Returns the list of accounts that belong to the same branch as STAFF user.
|
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)
Returns the list of accounts that belong to the same branch as STAFF user, paged view.
|
org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO> |
getSingleAccount(String accountId)
Returns a single account by its ID if it belong to the same branch as STAFF user.
|
org.springframework.http.ResponseEntity<Void> |
updateAccountAccess(AccountAccess accountAccess) |
static final String BASE_PATH
@PostMapping org.springframework.http.ResponseEntity<Void> createAccount(@RequestParam(value="userId") String userId, @RequestBody DepositAccount account)
@PutMapping(value="/access") org.springframework.http.ResponseEntity<Void> updateAccountAccess(@RequestBody AccountAccess accountAccess)
@GetMapping org.springframework.http.ResponseEntity<List<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO>> getAllAccounts()
@GetMapping(value="/page")
org.springframework.http.ResponseEntity<de.adorsys.ledgers.util.domain.CustomPageImpl<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO>> getAllAccounts(@RequestParam(required=false,defaultValue="")
String queryParam,
@RequestParam(required=false,defaultValue="0")
int page,
@RequestParam(required=false,defaultValue="25")
int size)
@GetMapping(path="/details")
org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO> getAccountDetailsByIban(@RequestParam
String iban)
iban - : the iban@GetMapping(value="/{accountId}")
org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.account.AccountDetailsTO> getSingleAccount(@PathVariable(value="accountId")
String accountId)
@GetMapping(value="/report/{accountId}")
org.springframework.http.ResponseEntity<AccountReport> accountReport(@PathVariable(value="accountId")
String accountId)
@PostMapping(value="/{accountId}/deposit-cash")
org.springframework.http.ResponseEntity<Void> depositCash(@PathVariable(value="accountId")
String accountId,
@RequestBody
de.adorsys.ledgers.middleware.api.domain.payment.AmountTO amount)
@GetMapping(value="/example") org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadAccountTemplate()
Copyright © 2020. All rights reserved.