Interface AccountAPI
- All Known Implementing Classes:
AccountAPIImpl
@RequestMapping("/api/v1/zeus/account")
@Validated
public interface AccountAPI
Created in Intellij IDEA
User: Balaji Varadharajan
Date: 20, May 2022
Time: 5:50 AM
Project: Zeus
Package Name: com.brihaspathee.zeus.web.resource.interfaces
To change this template use File | Settings | File and Code Template
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>>getAccountByAccountNumber(String accountNumber) Get account information by account numberorg.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>>getAccountByParameters(Map<String, String> searchParams) Get accounts based on the search parameters passedorg.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>>Get the account that is related to the account id that is passed in as inputorg.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.MemberDto>>getMemberByMemberCode(String memberCode) Get member by member code
-
Method Details
-
getAllAccounts
@GetMapping org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>> getAllAccounts()Get the account that is related to the account id that is passed in as input- Returns:
- List AccountDto
-
getAccountByParameters
@GetMapping("/search") org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>> getAccountByParameters(@RequestParam Map<String, String> searchParams) Get accounts based on the search parameters passed- Parameters:
searchParams-- Returns:
-
getAccountByAccountNumber
@GetMapping("/{accountNumber}") org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>> getAccountByAccountNumber(@PathVariable String accountNumber) Get account information by account number- Parameters:
accountNumber-- Returns:
-
getMemberByMemberCode
@GetMapping("/member/{memberCode}") org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.MemberDto>> getMemberByMemberCode(@PathVariable String memberCode) Get member by member code- Parameters:
memberCode-- Returns:
-