{"action":"created","comment":{"url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/comments/352053168","pull_request_review_id":324608198,"id":352053168,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1MjA1MzE2OA==","diff_hunk":"@@ -0,0 +1,31 @@\n+package no.ntnu.klubbhuset.domain;\n+\n+import lombok.Data;\n+\n+import javax.persistence.Entity;\n+import javax.persistence.Id;\n+import javax.persistence.ManyToOne;\n+\n+@Entity\n+@Data\n+public class Transaction {\n+\n+    @Id\n+    String id;\n+\n+    // Transaction info\n+    String timeStamp;\n+    String status;\n+    Double amount; // in NOK øre\n+    String text;\n+\n+    @ManyToOne\n+    Order orderId;\n+\n+    // Transaction summary\n+    int capturedAmount;\n+    int refundedAmount;\n+    int remainingAmountToCapture;\n+    int remainingAmountToRefund;\n+\n+}","path":"server/src/main/java/no/ntnu/klubbhuset/domain/Transaction.java","position":31,"original_position":31,"commit_id":"f9df43894cac5db61e5e109604614ca03acd86c6","original_commit_id":"bf2e18ade322ba394dd6ae1beb2181a31732c0f3","user":{"login":"markusranda","id":33400600,"node_id":"MDQ6VXNlcjMzNDAwNjAw","avatar_url":"https://avatars1.githubusercontent.com/u/33400600?v=4","gravatar_id":"","url":"https://api.github.com/users/markusranda","html_url":"https://github.com/markusranda","followers_url":"https://api.github.com/users/markusranda/followers","following_url":"https://api.github.com/users/markusranda/following{/other_user}","gists_url":"https://api.github.com/users/markusranda/gists{/gist_id}","starred_url":"https://api.github.com/users/markusranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusranda/subscriptions","organizations_url":"https://api.github.com/users/markusranda/orgs","repos_url":"https://api.github.com/users/markusranda/repos","events_url":"https://api.github.com/users/markusranda/events{/privacy}","received_events_url":"https://api.github.com/users/markusranda/received_events","type":"User","site_admin":false},"body":"La den ligg litt tell","created_at":"2019-11-29T09:48:26Z","updated_at":"2019-11-29T09:49:04Z","html_url":"https://github.com/0us/IE303911-Klubbhuset/pull/122#discussion_r352053168","pull_request_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/122","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/comments/352053168"},"html":{"href":"https://github.com/0us/IE303911-Klubbhuset/pull/122#discussion_r352053168"},"pull_request":{"href":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/122"}},"in_reply_to_id":352046146},"pull_request":{"url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/122","id":346805557,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ2ODA1NTU3","html_url":"https://github.com/0us/IE303911-Klubbhuset/pull/122","diff_url":"https://github.com/0us/IE303911-Klubbhuset/pull/122.diff","patch_url":"https://github.com/0us/IE303911-Klubbhuset/pull/122.patch","issue_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues/122","number":122,"state":"open","locked":false,"title":"Vipps implemented","user":{"login":"spiftire","id":44159536,"node_id":"MDQ6VXNlcjQ0MTU5NTM2","avatar_url":"https://avatars2.githubusercontent.com/u/44159536?v=4","gravatar_id":"","url":"https://api.github.com/users/spiftire","html_url":"https://github.com/spiftire","followers_url":"https://api.github.com/users/spiftire/followers","following_url":"https://api.github.com/users/spiftire/following{/other_user}","gists_url":"https://api.github.com/users/spiftire/gists{/gist_id}","starred_url":"https://api.github.com/users/spiftire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spiftire/subscriptions","organizations_url":"https://api.github.com/users/spiftire/orgs","repos_url":"https://api.github.com/users/spiftire/repos","events_url":"https://api.github.com/users/spiftire/events{/privacy}","received_events_url":"https://api.github.com/users/spiftire/received_events","type":"User","site_admin":false},"body":"Needs heavy code review and testing","created_at":"2019-11-28T18:24:23Z","updated_at":"2019-11-29T09:49:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"452fd730643dcb877c26b71d0cdb17991b727d3c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/122/commits","review_comments_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/122/comments","review_comment_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/comments{/number}","comments_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues/122/comments","statuses_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/statuses/f9df43894cac5db61e5e109604614ca03acd86c6","head":{"label":"0us:vipps-api","ref":"vipps-api","sha":"f9df43894cac5db61e5e109604614ca03acd86c6","user":{"login":"0us","id":35314375,"node_id":"MDQ6VXNlcjM1MzE0Mzc1","avatar_url":"https://avatars1.githubusercontent.com/u/35314375?v=4","gravatar_id":"","url":"https://api.github.com/users/0us","html_url":"https://github.com/0us","followers_url":"https://api.github.com/users/0us/followers","following_url":"https://api.github.com/users/0us/following{/other_user}","gists_url":"https://api.github.com/users/0us/gists{/gist_id}","starred_url":"https://api.github.com/users/0us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0us/subscriptions","organizations_url":"https://api.github.com/users/0us/orgs","repos_url":"https://api.github.com/users/0us/repos","events_url":"https://api.github.com/users/0us/events{/privacy}","received_events_url":"https://api.github.com/users/0us/received_events","type":"User","site_admin":false},"repo":{"id":215517696,"node_id":"MDEwOlJlcG9zaXRvcnkyMTU1MTc2OTY=","name":"IE303911-Klubbhuset","full_name":"0us/IE303911-Klubbhuset","private":false,"owner":{"login":"0us","id":35314375,"node_id":"MDQ6VXNlcjM1MzE0Mzc1","avatar_url":"https://avatars1.githubusercontent.com/u/35314375?v=4","gravatar_id":"","url":"https://api.github.com/users/0us","html_url":"https://github.com/0us","followers_url":"https://api.github.com/users/0us/followers","following_url":"https://api.github.com/users/0us/following{/other_user}","gists_url":"https://api.github.com/users/0us/gists{/gist_id}","starred_url":"https://api.github.com/users/0us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0us/subscriptions","organizations_url":"https://api.github.com/users/0us/orgs","repos_url":"https://api.github.com/users/0us/repos","events_url":"https://api.github.com/users/0us/events{/privacy}","received_events_url":"https://api.github.com/users/0us/received_events","type":"User","site_admin":false},"html_url":"https://github.com/0us/IE303911-Klubbhuset","description":"ID303911 Mobile og distribuerte applikasjoner prosjektoppgave","fork":false,"url":"https://api.github.com/repos/0us/IE303911-Klubbhuset","forks_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/forks","keys_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/teams","hooks_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/hooks","issue_events_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues/events{/number}","events_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/events","assignees_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/assignees{/user}","branches_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/branches{/branch}","tags_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/tags","blobs_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/refs{/sha}","trees_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/statuses/{sha}","languages_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/languages","stargazers_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/stargazers","contributors_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/contributors","subscribers_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/subscribers","subscription_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/subscription","commits_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/commits{/sha}","git_commits_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/commits{/sha}","comments_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/comments{/number}","issue_comment_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues/comments{/number}","contents_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/contents/{+path}","compare_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/merges","archive_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/downloads","issues_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues{/number}","pulls_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls{/number}","milestones_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/milestones{/number}","notifications_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/labels{/name}","releases_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/releases{/id}","deployments_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/deployments","created_at":"2019-10-16T10:10:39Z","updated_at":"2019-11-29T09:44:02Z","pushed_at":"2019-11-29T09:44:17Z","git_url":"git://github.com/0us/IE303911-Klubbhuset.git","ssh_url":"git@github.com:0us/IE303911-Klubbhuset.git","clone_url":"https://github.com/0us/IE303911-Klubbhuset.git","svn_url":"https://github.com/0us/IE303911-Klubbhuset","homepage":null,"size":12361,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":32,"license":null,"forks":0,"open_issues":32,"watchers":2,"default_branch":"develop"}},"base":{"label":"0us:develop","ref":"develop","sha":"c09bf74bc89dad4da8d941a40150cccce2073241","user":{"login":"0us","id":35314375,"node_id":"MDQ6VXNlcjM1MzE0Mzc1","avatar_url":"https://avatars1.githubusercontent.com/u/35314375?v=4","gravatar_id":"","url":"https://api.github.com/users/0us","html_url":"https://github.com/0us","followers_url":"https://api.github.com/users/0us/followers","following_url":"https://api.github.com/users/0us/following{/other_user}","gists_url":"https://api.github.com/users/0us/gists{/gist_id}","starred_url":"https://api.github.com/users/0us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0us/subscriptions","organizations_url":"https://api.github.com/users/0us/orgs","repos_url":"https://api.github.com/users/0us/repos","events_url":"https://api.github.com/users/0us/events{/privacy}","received_events_url":"https://api.github.com/users/0us/received_events","type":"User","site_admin":false},"repo":{"id":215517696,"node_id":"MDEwOlJlcG9zaXRvcnkyMTU1MTc2OTY=","name":"IE303911-Klubbhuset","full_name":"0us/IE303911-Klubbhuset","private":false,"owner":{"login":"0us","id":35314375,"node_id":"MDQ6VXNlcjM1MzE0Mzc1","avatar_url":"https://avatars1.githubusercontent.com/u/35314375?v=4","gravatar_id":"","url":"https://api.github.com/users/0us","html_url":"https://github.com/0us","followers_url":"https://api.github.com/users/0us/followers","following_url":"https://api.github.com/users/0us/following{/other_user}","gists_url":"https://api.github.com/users/0us/gists{/gist_id}","starred_url":"https://api.github.com/users/0us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0us/subscriptions","organizations_url":"https://api.github.com/users/0us/orgs","repos_url":"https://api.github.com/users/0us/repos","events_url":"https://api.github.com/users/0us/events{/privacy}","received_events_url":"https://api.github.com/users/0us/received_events","type":"User","site_admin":false},"html_url":"https://github.com/0us/IE303911-Klubbhuset","description":"ID303911 Mobile og distribuerte applikasjoner prosjektoppgave","fork":false,"url":"https://api.github.com/repos/0us/IE303911-Klubbhuset","forks_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/forks","keys_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/teams","hooks_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/hooks","issue_events_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues/events{/number}","events_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/events","assignees_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/assignees{/user}","branches_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/branches{/branch}","tags_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/tags","blobs_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/refs{/sha}","trees_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/statuses/{sha}","languages_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/languages","stargazers_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/stargazers","contributors_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/contributors","subscribers_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/subscribers","subscription_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/subscription","commits_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/commits{/sha}","git_commits_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/git/commits{/sha}","comments_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/comments{/number}","issue_comment_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues/comments{/number}","contents_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/contents/{+path}","compare_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/merges","archive_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/downloads","issues_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues{/number}","pulls_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls{/number}","milestones_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/milestones{/number}","notifications_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/labels{/name}","releases_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/releases{/id}","deployments_url":"https://api.github.com/repos/0us/IE303911-Klubbhuset/deployments","created_at":"2019-10-16T10:10:39Z","updated_at":"2019-11-29T09:44:02Z","pushed_at":"2019-11-29T09:44:17Z","git_url":"git://github.com/0us/IE303911-Klubbhuset.git","ssh_url":"git@github.com:0us/IE303911-Klubbhuset.git","clone_url":"https://github.com/0us/IE303911-Klubbhuset.git","svn_url":"https://github.com/0us/IE303911-Klubbhuset","homepage":null,"size":12361,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":32,"license":null,"forks":0,"open_issues":32,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/122"},"html":{"href":"https://github.com/0us/IE303911-Klubbhuset/pull/122"},"issue":{"href":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues/122"},"comments":{"href":"https://api.github.com/repos/0us/IE303911-Klubbhuset/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/0us/IE303911-Klubbhuset/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/0us/IE303911-Klubbhuset/statuses/f9df43894cac5db61e5e109604614ca03acd86c6"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"markusranda"}}