public interface AccountRestAPI
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNT_ID |
static String |
BASE_PATH |
static String |
DATE_FROM_QUERY_PARAM |
static String |
DATE_TO_QUERY_PARAM |
static String |
IBAN_QUERY_PARAM |
static String |
LOCAL_DATE_YYYY_MM_DD_FORMAT |
static String |
PAGE |
static String |
SIZE |
static String |
TRANSACTION_ID |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Void> |
createDepositAccount(AccountDetailsTO accountDetailsTO) |
org.springframework.http.ResponseEntity<Void> |
depositCash(String accountId,
AmountTO amount) |
org.springframework.http.ResponseEntity<Boolean> |
fundsConfirmation(FundsConfirmationRequestTO request) |
org.springframework.http.ResponseEntity<AccountDetailsTO> |
getAccountDetailsByIban(String iban) |
org.springframework.http.ResponseEntity<AccountDetailsTO> |
getAccountDetailsById(String accountId) |
org.springframework.http.ResponseEntity<List<AdditionalAccountInformationTO>> |
getAdditionalAccountInfo(AccountIdentifierTypeTO accountIdentifierType,
String accountIdentifier) |
org.springframework.http.ResponseEntity<List<AccountBalanceTO>> |
getBalances(String accountId) |
org.springframework.http.ResponseEntity<List<AccountDetailsTO>> |
getListOfAccounts()
Return the list of accounts linked with the current customer.
|
org.springframework.http.ResponseEntity<List<TransactionTO>> |
getTransactionByDates(String accountId,
LocalDate dateFrom,
LocalDate dateTo) |
org.springframework.http.ResponseEntity<CustomPageImpl<TransactionTO>> |
getTransactionByDatesPaged(String accountId,
LocalDate dateFrom,
LocalDate dateTo,
int page,
int size) |
org.springframework.http.ResponseEntity<TransactionTO> |
getTransactionById(String accountId,
String transactionId) |
static final String BASE_PATH
static final String IBAN_QUERY_PARAM
static final String LOCAL_DATE_YYYY_MM_DD_FORMAT
static final String DATE_TO_QUERY_PARAM
static final String DATE_FROM_QUERY_PARAM
static final String ACCOUNT_ID
static final String TRANSACTION_ID
static final String PAGE
static final String SIZE
@GetMapping org.springframework.http.ResponseEntity<List<AccountDetailsTO>> getListOfAccounts()
@PostMapping org.springframework.http.ResponseEntity<Void> createDepositAccount(@RequestBody AccountDetailsTO accountDetailsTO)
@GetMapping(value="/{accountId}")
org.springframework.http.ResponseEntity<AccountDetailsTO> getAccountDetailsById(@PathVariable(name="accountId")
String accountId)
@GetMapping(value="/{accountId}/balances")
org.springframework.http.ResponseEntity<List<AccountBalanceTO>> getBalances(@PathVariable(name="accountId")
String accountId)
@GetMapping(path="/{accountId}/transactions",
params={"dateFrom","dateTo"})
org.springframework.http.ResponseEntity<List<TransactionTO>> getTransactionByDates(@PathVariable(name="accountId")
String accountId,
@RequestParam(name="dateFrom",required=false) @DateTimeFormat(pattern="yyyy-MM-dd")
LocalDate dateFrom,
@RequestParam(name="dateTo") @DateTimeFormat(pattern="yyyy-MM-dd")
LocalDate dateTo)
@GetMapping(path="/{accountId}/transactions/page",
params={"dateFrom","dateTo","page","size"})
org.springframework.http.ResponseEntity<CustomPageImpl<TransactionTO>> getTransactionByDatesPaged(@PathVariable(name="accountId")
String accountId,
@RequestParam(name="dateFrom",required=false) @DateTimeFormat(pattern="yyyy-MM-dd")
LocalDate dateFrom,
@RequestParam(name="dateTo") @DateTimeFormat(pattern="yyyy-MM-dd")
LocalDate dateTo,
@RequestParam(value="page")
int page,
@RequestParam(value="size")
int size)
@GetMapping(value="/{accountId}/transactions/{transactionId}")
org.springframework.http.ResponseEntity<TransactionTO> getTransactionById(@PathVariable(name="accountId")
String accountId,
@PathVariable(name="transactionId")
String transactionId)
@GetMapping(path="/query",
params="iban")
org.springframework.http.ResponseEntity<AccountDetailsTO> getAccountDetailsByIban(@RequestParam(name="iban")
String iban)
iban - : the iban@PostMapping(value="/funds-confirmation") org.springframework.http.ResponseEntity<Boolean> fundsConfirmation(@RequestBody FundsConfirmationRequestTO request)
@PostMapping(value="/{accountId}/cash")
org.springframework.http.ResponseEntity<Void> depositCash(@PathVariable(name="accountId")
String accountId,
@RequestBody
AmountTO amount)
@GetMapping(path="/info/{accountIdentifierType}/{accountIdentifier}")
org.springframework.http.ResponseEntity<List<AdditionalAccountInformationTO>> getAdditionalAccountInfo(@PathVariable(name="accountIdentifierType")
AccountIdentifierTypeTO accountIdentifierType,
@PathVariable(name="accountIdentifier")
String accountIdentifier)
Copyright © 2021. All rights reserved.