Class BankAccountController


  • @UserResource
    @RestController
    @RequestMapping(path="api/v1/bankaccesses/{accessId}/accounts")
    public class BankAccountController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.hateoas.Resource<BankAccountTO> getBankAccount​(java.lang.String accessId, java.lang.String accountId)  
      org.springframework.hateoas.Resources<org.springframework.hateoas.Resource<BankAccountTO>> getBankAccounts​(java.lang.String accessId)  
      org.springframework.http.ResponseEntity syncBookings​(java.lang.String accessId, java.lang.String accountId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BankAccountController

        public BankAccountController()
    • Method Detail

      • getBankAccounts

        @GetMapping
        public org.springframework.hateoas.Resources<org.springframework.hateoas.Resource<BankAccountTO>> getBankAccounts​(@PathVariable
                                                                                                                          java.lang.String accessId)
      • getBankAccount

        @GetMapping("/{accountId}")
        public org.springframework.hateoas.Resource<BankAccountTO> getBankAccount​(@PathVariable
                                                                                  java.lang.String accessId,
                                                                                  @PathVariable("accountId")
                                                                                  java.lang.String accountId)
      • syncBookings

        @PutMapping("/{accountId}/sync")
        public org.springframework.http.ResponseEntity syncBookings​(@PathVariable
                                                                    java.lang.String accessId,
                                                                    @PathVariable
                                                                    java.lang.String accountId)