Class AccountAPIImpl
java.lang.Object
com.brihaspathee.zeus.web.resource.impl.AccountAPIImpl
- All Implemented Interfaces:
AccountAPI
Created in Intellij IDEA
User: Balaji Varadharajan
Date: 20, May 2022
Time: 5:55 AM
Project: Zeus
Package Name: com.brihaspathee.zeus.web.resource.impl
To change this template use File | Settings | File and Code Template
-
Constructor Summary
Constructors -
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 by account numberorg.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>>getAccountByParameters(Map<String, String> searchParams) Get the account by search parametersorg.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>>Get all the accountsorg.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.MemberDto>>getMemberByMemberCode(String memberCode) Get member by member code
-
Constructor Details
-
AccountAPIImpl
public AccountAPIImpl()
-
-
Method Details
-
getAllAccounts
public org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>> getAllAccounts()Get all the accounts- Specified by:
getAllAccountsin interfaceAccountAPI- Returns:
-
getAccountByParameters
public org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>> getAccountByParameters(Map<String, String> searchParams) Get the account by search parameters- Specified by:
getAccountByParametersin interfaceAccountAPI- Parameters:
searchParams-- Returns:
-
getAccountByAccountNumber
public org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>> getAccountByAccountNumber(String accountNumber) Get account by account number- Specified by:
getAccountByAccountNumberin interfaceAccountAPI- Parameters:
accountNumber-- Returns:
-
getMemberByMemberCode
public org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.MemberDto>> getMemberByMemberCode(String memberCode) Get member by member code- Specified by:
getMemberByMemberCodein interfaceAccountAPI- Parameters:
memberCode-- Returns:
-