Interface AccountApi

    • Method Detail

      • listAccounts

        @Named("listAccounts")
        @GET
        @Consumes("application/json")
        Set<Account> listAccounts​(ListAccountsOptions... options)
        Lists Accounts
        Parameters:
        options - if present, how to constrain the list.
        Returns:
        Accounts matching query, or empty set, if no Accounts are found
      • getAccount

        @Named("listAccounts")
        @GET
        @Consumes("application/json")
        Account getAccount​(@QueryParam("id")
                           String id)
        get a specific Account by id
        Parameters:
        id - Account to get
        Returns:
        Account or null if not found