Class AccountAPIImpl

java.lang.Object
com.brihaspathee.zeus.web.resource.impl.AccountAPIImpl
All Implemented Interfaces:
AccountAPI

@RestController public class AccountAPIImpl extends Object implements 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>>
    Get account by account number
    org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>>
    Get the account by search parameters
    org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.AccountList>>
    Get all the accounts
    org.springframework.http.ResponseEntity<com.brihaspathee.zeus.web.response.ZeusApiResponse<com.brihaspathee.zeus.dto.account.MemberDto>>
    Get member by member code

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getAllAccounts in interface AccountAPI
      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:
      getAccountByParameters in interface AccountAPI
      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:
      getAccountByAccountNumber in interface AccountAPI
      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:
      getMemberByMemberCode in interface AccountAPI
      Parameters:
      memberCode -
      Returns: