{"action":"created","comment":{"url":"https://api.github.com/repos/buruks/drip-online/pulls/comments/32306182","id":32306182,"diff_hunk":"@@ -0,0 +1,12 @@\n+package org.drip.repository;\n+\n+import org.drip.model.Payment;\n+import org.springframework.data.jpa.repository.Query;\n+import org.springframework.data.repository.CrudRepository;\n+import org.springframework.data.repository.query.Param;\n+\n+public interface PaymentHistoryRepository extends CrudRepository<Payment,Long> {\n+\n+\t@Query(\"SELECT paymentHistory FROM PaymentHistory paymentHistory INNER JOIN paymentHistory.account INNER JOIN paymentHistory.paymentType WHERE account.accountNumber=:accountNumber \" )\n+\tPayment findPaymentHistoryByAccountNumber(@Param(\"accountNumber\") String accountId);\t","path":"src/main/java/org/drip/repository/PaymentHistoryRepository.java","position":11,"original_position":11,"commit_id":"1396c3ceec17cfa2c11297681f6352cf15729f43","original_commit_id":"1396c3ceec17cfa2c11297681f6352cf15729f43","user":{"login":"geoff-wasilwa","id":6013054,"avatar_url":"https://avatars.githubusercontent.com/u/6013054?v=3","gravatar_id":"","url":"https://api.github.com/users/geoff-wasilwa","html_url":"https://github.com/geoff-wasilwa","followers_url":"https://api.github.com/users/geoff-wasilwa/followers","following_url":"https://api.github.com/users/geoff-wasilwa/following{/other_user}","gists_url":"https://api.github.com/users/geoff-wasilwa/gists{/gist_id}","starred_url":"https://api.github.com/users/geoff-wasilwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoff-wasilwa/subscriptions","organizations_url":"https://api.github.com/users/geoff-wasilwa/orgs","repos_url":"https://api.github.com/users/geoff-wasilwa/repos","events_url":"https://api.github.com/users/geoff-wasilwa/events{/privacy}","received_events_url":"https://api.github.com/users/geoff-wasilwa/received_events","type":"User","site_admin":false},"body":"change this to `findByAccountNumber`","created_at":"2015-06-12T10:42:29Z","updated_at":"2015-06-12T10:42:29Z","html_url":"https://github.com/buruks/drip-online/pull/18#discussion_r32306182","pull_request_url":"https://api.github.com/repos/buruks/drip-online/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/buruks/drip-online/pulls/comments/32306182"},"html":{"href":"https://github.com/buruks/drip-online/pull/18#discussion_r32306182"},"pull_request":{"href":"https://api.github.com/repos/buruks/drip-online/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/buruks/drip-online/pulls/18","id":37404837,"html_url":"https://github.com/buruks/drip-online/pull/18","diff_url":"https://github.com/buruks/drip-online/pull/18.diff","patch_url":"https://github.com/buruks/drip-online/pull/18.patch","issue_url":"https://api.github.com/repos/buruks/drip-online/issues/18","number":18,"state":"open","locked":false,"title":"Account payment history","user":{"login":"aonomike","id":1543546,"avatar_url":"https://avatars.githubusercontent.com/u/1543546?v=3","gravatar_id":"","url":"https://api.github.com/users/aonomike","html_url":"https://github.com/aonomike","followers_url":"https://api.github.com/users/aonomike/followers","following_url":"https://api.github.com/users/aonomike/following{/other_user}","gists_url":"https://api.github.com/users/aonomike/gists{/gist_id}","starred_url":"https://api.github.com/users/aonomike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aonomike/subscriptions","organizations_url":"https://api.github.com/users/aonomike/orgs","repos_url":"https://api.github.com/users/aonomike/repos","events_url":"https://api.github.com/users/aonomike/events{/privacy}","received_events_url":"https://api.github.com/users/aonomike/received_events","type":"User","site_admin":false},"body":"Added PaymentHistory.java\r\nAdded PaymentType.java\r\nAdded AccountRepository.java\r\nAdded PaymentHistoryRepository.java\r\nAdded AccountService.java\r\nDeleted DripUser.java","created_at":"2015-06-10T21:09:08Z","updated_at":"2015-06-12T10:42:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc279718c89bd493092ec49547abaacf7fb41daa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/buruks/drip-online/pulls/18/commits","review_comments_url":"https://api.github.com/repos/buruks/drip-online/pulls/18/comments","review_comment_url":"https://api.github.com/repos/buruks/drip-online/pulls/comments{/number}","comments_url":"https://api.github.com/repos/buruks/drip-online/issues/18/comments","statuses_url":"https://api.github.com/repos/buruks/drip-online/statuses/1396c3ceec17cfa2c11297681f6352cf15729f43","head":{"label":"aonomike:account-payment-history","ref":"account-payment-history","sha":"1396c3ceec17cfa2c11297681f6352cf15729f43","user":{"login":"aonomike","id":1543546,"avatar_url":"https://avatars.githubusercontent.com/u/1543546?v=3","gravatar_id":"","url":"https://api.github.com/users/aonomike","html_url":"https://github.com/aonomike","followers_url":"https://api.github.com/users/aonomike/followers","following_url":"https://api.github.com/users/aonomike/following{/other_user}","gists_url":"https://api.github.com/users/aonomike/gists{/gist_id}","starred_url":"https://api.github.com/users/aonomike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aonomike/subscriptions","organizations_url":"https://api.github.com/users/aonomike/orgs","repos_url":"https://api.github.com/users/aonomike/repos","events_url":"https://api.github.com/users/aonomike/events{/privacy}","received_events_url":"https://api.github.com/users/aonomike/received_events","type":"User","site_admin":false},"repo":{"id":36609173,"name":"drip-online","full_name":"aonomike/drip-online","owner":{"login":"aonomike","id":1543546,"avatar_url":"https://avatars.githubusercontent.com/u/1543546?v=3","gravatar_id":"","url":"https://api.github.com/users/aonomike","html_url":"https://github.com/aonomike","followers_url":"https://api.github.com/users/aonomike/followers","following_url":"https://api.github.com/users/aonomike/following{/other_user}","gists_url":"https://api.github.com/users/aonomike/gists{/gist_id}","starred_url":"https://api.github.com/users/aonomike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aonomike/subscriptions","organizations_url":"https://api.github.com/users/aonomike/orgs","repos_url":"https://api.github.com/users/aonomike/repos","events_url":"https://api.github.com/users/aonomike/events{/privacy}","received_events_url":"https://api.github.com/users/aonomike/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aonomike/drip-online","description":"Drip customer facing interface","fork":true,"url":"https://api.github.com/repos/aonomike/drip-online","forks_url":"https://api.github.com/repos/aonomike/drip-online/forks","keys_url":"https://api.github.com/repos/aonomike/drip-online/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aonomike/drip-online/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aonomike/drip-online/teams","hooks_url":"https://api.github.com/repos/aonomike/drip-online/hooks","issue_events_url":"https://api.github.com/repos/aonomike/drip-online/issues/events{/number}","events_url":"https://api.github.com/repos/aonomike/drip-online/events","assignees_url":"https://api.github.com/repos/aonomike/drip-online/assignees{/user}","branches_url":"https://api.github.com/repos/aonomike/drip-online/branches{/branch}","tags_url":"https://api.github.com/repos/aonomike/drip-online/tags","blobs_url":"https://api.github.com/repos/aonomike/drip-online/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aonomike/drip-online/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aonomike/drip-online/git/refs{/sha}","trees_url":"https://api.github.com/repos/aonomike/drip-online/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aonomike/drip-online/statuses/{sha}","languages_url":"https://api.github.com/repos/aonomike/drip-online/languages","stargazers_url":"https://api.github.com/repos/aonomike/drip-online/stargazers","contributors_url":"https://api.github.com/repos/aonomike/drip-online/contributors","subscribers_url":"https://api.github.com/repos/aonomike/drip-online/subscribers","subscription_url":"https://api.github.com/repos/aonomike/drip-online/subscription","commits_url":"https://api.github.com/repos/aonomike/drip-online/commits{/sha}","git_commits_url":"https://api.github.com/repos/aonomike/drip-online/git/commits{/sha}","comments_url":"https://api.github.com/repos/aonomike/drip-online/comments{/number}","issue_comment_url":"https://api.github.com/repos/aonomike/drip-online/issues/comments{/number}","contents_url":"https://api.github.com/repos/aonomike/drip-online/contents/{+path}","compare_url":"https://api.github.com/repos/aonomike/drip-online/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aonomike/drip-online/merges","archive_url":"https://api.github.com/repos/aonomike/drip-online/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aonomike/drip-online/downloads","issues_url":"https://api.github.com/repos/aonomike/drip-online/issues{/number}","pulls_url":"https://api.github.com/repos/aonomike/drip-online/pulls{/number}","milestones_url":"https://api.github.com/repos/aonomike/drip-online/milestones{/number}","notifications_url":"https://api.github.com/repos/aonomike/drip-online/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aonomike/drip-online/labels{/name}","releases_url":"https://api.github.com/repos/aonomike/drip-online/releases{/id}","created_at":"2015-05-31T15:25:26Z","updated_at":"2015-06-02T17:51:13Z","pushed_at":"2015-06-12T07:39:22Z","git_url":"git://github.com/aonomike/drip-online.git","ssh_url":"git@github.com:aonomike/drip-online.git","clone_url":"https://github.com/aonomike/drip-online.git","svn_url":"https://github.com/aonomike/drip-online","homepage":null,"size":14714,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"buruks:master","ref":"master","sha":"79c97aaa7ee196368605f213de4d4717812be260","user":{"login":"buruks","id":9769833,"avatar_url":"https://avatars.githubusercontent.com/u/9769833?v=3","gravatar_id":"","url":"https://api.github.com/users/buruks","html_url":"https://github.com/buruks","followers_url":"https://api.github.com/users/buruks/followers","following_url":"https://api.github.com/users/buruks/following{/other_user}","gists_url":"https://api.github.com/users/buruks/gists{/gist_id}","starred_url":"https://api.github.com/users/buruks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buruks/subscriptions","organizations_url":"https://api.github.com/users/buruks/orgs","repos_url":"https://api.github.com/users/buruks/repos","events_url":"https://api.github.com/users/buruks/events{/privacy}","received_events_url":"https://api.github.com/users/buruks/received_events","type":"Organization","site_admin":false},"repo":{"id":36596578,"name":"drip-online","full_name":"buruks/drip-online","owner":{"login":"buruks","id":9769833,"avatar_url":"https://avatars.githubusercontent.com/u/9769833?v=3","gravatar_id":"","url":"https://api.github.com/users/buruks","html_url":"https://github.com/buruks","followers_url":"https://api.github.com/users/buruks/followers","following_url":"https://api.github.com/users/buruks/following{/other_user}","gists_url":"https://api.github.com/users/buruks/gists{/gist_id}","starred_url":"https://api.github.com/users/buruks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buruks/subscriptions","organizations_url":"https://api.github.com/users/buruks/orgs","repos_url":"https://api.github.com/users/buruks/repos","events_url":"https://api.github.com/users/buruks/events{/privacy}","received_events_url":"https://api.github.com/users/buruks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/buruks/drip-online","description":"Drip customer facing interface","fork":false,"url":"https://api.github.com/repos/buruks/drip-online","forks_url":"https://api.github.com/repos/buruks/drip-online/forks","keys_url":"https://api.github.com/repos/buruks/drip-online/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buruks/drip-online/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buruks/drip-online/teams","hooks_url":"https://api.github.com/repos/buruks/drip-online/hooks","issue_events_url":"https://api.github.com/repos/buruks/drip-online/issues/events{/number}","events_url":"https://api.github.com/repos/buruks/drip-online/events","assignees_url":"https://api.github.com/repos/buruks/drip-online/assignees{/user}","branches_url":"https://api.github.com/repos/buruks/drip-online/branches{/branch}","tags_url":"https://api.github.com/repos/buruks/drip-online/tags","blobs_url":"https://api.github.com/repos/buruks/drip-online/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buruks/drip-online/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buruks/drip-online/git/refs{/sha}","trees_url":"https://api.github.com/repos/buruks/drip-online/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buruks/drip-online/statuses/{sha}","languages_url":"https://api.github.com/repos/buruks/drip-online/languages","stargazers_url":"https://api.github.com/repos/buruks/drip-online/stargazers","contributors_url":"https://api.github.com/repos/buruks/drip-online/contributors","subscribers_url":"https://api.github.com/repos/buruks/drip-online/subscribers","subscription_url":"https://api.github.com/repos/buruks/drip-online/subscription","commits_url":"https://api.github.com/repos/buruks/drip-online/commits{/sha}","git_commits_url":"https://api.github.com/repos/buruks/drip-online/git/commits{/sha}","comments_url":"https://api.github.com/repos/buruks/drip-online/comments{/number}","issue_comment_url":"https://api.github.com/repos/buruks/drip-online/issues/comments{/number}","contents_url":"https://api.github.com/repos/buruks/drip-online/contents/{+path}","compare_url":"https://api.github.com/repos/buruks/drip-online/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buruks/drip-online/merges","archive_url":"https://api.github.com/repos/buruks/drip-online/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buruks/drip-online/downloads","issues_url":"https://api.github.com/repos/buruks/drip-online/issues{/number}","pulls_url":"https://api.github.com/repos/buruks/drip-online/pulls{/number}","milestones_url":"https://api.github.com/repos/buruks/drip-online/milestones{/number}","notifications_url":"https://api.github.com/repos/buruks/drip-online/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buruks/drip-online/labels{/name}","releases_url":"https://api.github.com/repos/buruks/drip-online/releases{/id}","created_at":"2015-05-31T09:39:17Z","updated_at":"2015-06-01T15:36:27Z","pushed_at":"2015-06-12T07:39:22Z","git_url":"git://github.com/buruks/drip-online.git","ssh_url":"git@github.com:buruks/drip-online.git","clone_url":"https://github.com/buruks/drip-online.git","svn_url":"https://github.com/buruks/drip-online","homepage":null,"size":14888,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/buruks/drip-online/pulls/18"},"html":{"href":"https://github.com/buruks/drip-online/pull/18"},"issue":{"href":"https://api.github.com/repos/buruks/drip-online/issues/18"},"comments":{"href":"https://api.github.com/repos/buruks/drip-online/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/buruks/drip-online/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/buruks/drip-online/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/buruks/drip-online/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/buruks/drip-online/statuses/1396c3ceec17cfa2c11297681f6352cf15729f43"}}}}