{"action":"created","comment":{"url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/comments/245020854","pull_request_review_id":189038418,"id":245020854,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTAyMDg1NA==","diff_hunk":"@@ -0,0 +1,83 @@\n+package uk.gov.hmcts.cmc.ccd.domain.defendant;\n+\n+import lombok.Builder;\n+import lombok.Value;\n+import uk.gov.hmcts.cmc.ccd.domain.CCDAddress;\n+import uk.gov.hmcts.cmc.ccd.domain.CCDCollectionElement;\n+import uk.gov.hmcts.cmc.ccd.domain.CCDPartyType;\n+import uk.gov.hmcts.cmc.ccd.domain.CCDPaymentIntention;\n+import uk.gov.hmcts.cmc.ccd.domain.CCDTimelineEvent;\n+import uk.gov.hmcts.cmc.ccd.domain.CCDYesNoOption;\n+import uk.gov.hmcts.cmc.ccd.domain.CCJRequest;\n+import uk.gov.hmcts.cmc.ccd.domain.defendant.statementofmeans.CCDStatementOfMeans;\n+import uk.gov.hmcts.cmc.ccd.domain.evidence.CCDEvidenceRow;\n+\n+import java.math.BigDecimal;\n+import java.time.LocalDate;\n+import java.time.LocalDateTime;\n+import java.util.List;\n+\n+@Value\n+@Builder\n+public class CCDDefendant {\n+    private String letterHolderId;\n+    private String defendantId;\n+    private LocalDate responseDeadline;\n+\n+    private CCDPartyType claimantProvidedType;\n+    private String claimantProvidedEmail;\n+    private CCDAddress claimantProvidedServiceAddress;\n+    private String claimantProvidedName;\n+    private CCDAddress claimantProvidedAddress;\n+    private CCDAddress claimantProvidedCorrespondenceAddress;\n+    private LocalDate claimantProvidedDateOfBirth;\n+    private String claimantProvidedContactPerson;\n+    private String claimantProvidedCompaniesHouseNumber;\n+    private String claimantProvidedTitle;\n+    private String claimantProvidedBusinessName;\n+\n+    private String representativeOrganisationName;\n+    private CCDAddress representativeOrganisationAddress;\n+    private String representativeOrganisationPhone;\n+    private String representativeOrganisationEmail;\n+    private String representativeOrganisationDxAddress;\n+\n+    private CCDPartyType partyType;\n+    private String partyTitle;\n+    private String partyName;\n+    private LocalDate partyDateOfBirth;\n+    private String partyPhone;\n+    private String partyEmail;\n+    private CCDAddress partyAddress;\n+    private CCDAddress partyCorrespondenceAddress;\n+    private String partyBusinessName;\n+    private String partyContactPerson;\n+    private String partyCompaniesHouseNumber;\n+\n+    private LocalDateTime responseSubmittedOn;\n+    private CCDResponseType responseType;\n+    private BigDecimal responseAmount;\n+    private LocalDate paymentDeclarationPaidDate;\n+    private String paymentDeclarationExplanation;\n+    private List<CCDCollectionElement<CCDTimelineEvent>> defendantTimeLineEvents;\n+    private String defendantTimeLineComment;\n+    private List<CCDCollectionElement<CCDEvidenceRow>> responseEvidenceRows;\n+    private String responseEvidenceComment;\n+    private CCDDefenceType responseDefenceType;\n+    private String responseDefence;\n+    private CCDYesNoOption responseFreeMediationOption;\n+    private CCDYesNoOption responseMoreTimeNeededOption;\n+    private String responseDefendantSOTSignerName;\n+    private String responseDefendantSOTSignerRole;\n+\n+    private CCDPaymentIntention defendantPaymentIntention;\n+    private CCDStatementOfMeans statementOfMeans;\n+","path":"ccd-adapter/src/main/java/uk/gov/hmcts/cmc/ccd/domain/defendant/CCDDefendant.java","position":75,"original_position":75,"commit_id":"04bc0bda2319234df30e954bfb729cd87d0819af","original_commit_id":"41c8bfd07594e7a46cf851e01cca0e9a3d25bb31","user":{"login":"sabahirfan","id":12894151,"node_id":"MDQ6VXNlcjEyODk0MTUx","avatar_url":"https://avatars0.githubusercontent.com/u/12894151?v=4","gravatar_id":"","url":"https://api.github.com/users/sabahirfan","html_url":"https://github.com/sabahirfan","followers_url":"https://api.github.com/users/sabahirfan/followers","following_url":"https://api.github.com/users/sabahirfan/following{/other_user}","gists_url":"https://api.github.com/users/sabahirfan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabahirfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabahirfan/subscriptions","organizations_url":"https://api.github.com/users/sabahirfan/orgs","repos_url":"https://api.github.com/users/sabahirfan/repos","events_url":"https://api.github.com/users/sabahirfan/events{/privacy}","received_events_url":"https://api.github.com/users/sabahirfan/received_events","type":"User","site_admin":false},"body":"This is correct. This is single blank line to group the related fields after flattened objects in CCD. \r\n\r\nFYI - If we have more than one consecutive extra lines, that is bad formatting.","created_at":"2019-01-03T14:47:04Z","updated_at":"2019-01-03T14:47:04Z","html_url":"https://github.com/hmcts/cmc-claim-store/pull/626#discussion_r245020854","pull_request_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/626","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/comments/245020854"},"html":{"href":"https://github.com/hmcts/cmc-claim-store/pull/626#discussion_r245020854"},"pull_request":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/626"}},"in_reply_to_id":244867339},"pull_request":{"url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/626","id":239879688,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5ODc5Njg4","html_url":"https://github.com/hmcts/cmc-claim-store/pull/626","diff_url":"https://github.com/hmcts/cmc-claim-store/pull/626.diff","patch_url":"https://github.com/hmcts/cmc-claim-store/pull/626.patch","issue_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/626","number":626,"state":"open","locked":false,"title":"ROC-4782: CCD mappings for defenant response","user":{"login":"sabahirfan","id":12894151,"node_id":"MDQ6VXNlcjEyODk0MTUx","avatar_url":"https://avatars0.githubusercontent.com/u/12894151?v=4","gravatar_id":"","url":"https://api.github.com/users/sabahirfan","html_url":"https://github.com/sabahirfan","followers_url":"https://api.github.com/users/sabahirfan/followers","following_url":"https://api.github.com/users/sabahirfan/following{/other_user}","gists_url":"https://api.github.com/users/sabahirfan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabahirfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabahirfan/subscriptions","organizations_url":"https://api.github.com/users/sabahirfan/orgs","repos_url":"https://api.github.com/users/sabahirfan/repos","events_url":"https://api.github.com/users/sabahirfan/events{/privacy}","received_events_url":"https://api.github.com/users/sabahirfan/received_events","type":"User","site_admin":false},"body":"### JIRA link (if applicable) ###\r\n[ROC-4777](https://tools.hmcts.net/jira/browse/ROC-4777)\r\n[ROC-4778](https://tools.hmcts.net/jira/browse/ROC-4778)\r\n[ROC-4782](https://tools.hmcts.net/jira/browse/ROC-4782)\r\n\r\n### Change description ###\r\nThis PR contains the WIP mappings for defendant response. Tested manually. To unblock others, unit tests are coming in subsequent PR.\r\n\r\n\r\n**Does this PR introduce a breaking change?** (check one with \"x\")\r\n\r\n- [ ] Yes\r\n- [x] No\r\n\r\n","created_at":"2018-12-19T15:39:09Z","updated_at":"2019-01-03T14:47:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"361ae3a1f00baa4ce417096d546117f4e28035ba","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1178172491,"node_id":"MDU6TGFiZWwxMTc4MTcyNDkx","url":"https://api.github.com/repos/hmcts/cmc-claim-store/labels/ns:cmc-claim-store-pr-626","name":"ns:cmc-claim-store-pr-626","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/626/commits","review_comments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/626/comments","review_comment_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/626/comments","statuses_url":"https://api.github.com/repos/hmcts/cmc-claim-store/statuses/04bc0bda2319234df30e954bfb729cd87d0819af","head":{"label":"hmcts:feature/ROC-4782-ccd-mappings-for-full-defence-response","ref":"feature/ROC-4782-ccd-mappings-for-full-defence-response","sha":"04bc0bda2319234df30e954bfb729cd87d0819af","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":101856095,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE4NTYwOTU=","name":"cmc-claim-store","full_name":"hmcts/cmc-claim-store","private":false,"owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hmcts/cmc-claim-store","description":"Backend service for Civil Money Claims","fork":false,"url":"https://api.github.com/repos/hmcts/cmc-claim-store","forks_url":"https://api.github.com/repos/hmcts/cmc-claim-store/forks","keys_url":"https://api.github.com/repos/hmcts/cmc-claim-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/cmc-claim-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/cmc-claim-store/teams","hooks_url":"https://api.github.com/repos/hmcts/cmc-claim-store/hooks","issue_events_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/cmc-claim-store/events","assignees_url":"https://api.github.com/repos/hmcts/cmc-claim-store/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/cmc-claim-store/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/cmc-claim-store/tags","blobs_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/cmc-claim-store/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/cmc-claim-store/languages","stargazers_url":"https://api.github.com/repos/hmcts/cmc-claim-store/stargazers","contributors_url":"https://api.github.com/repos/hmcts/cmc-claim-store/contributors","subscribers_url":"https://api.github.com/repos/hmcts/cmc-claim-store/subscribers","subscription_url":"https://api.github.com/repos/hmcts/cmc-claim-store/subscription","commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/cmc-claim-store/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/cmc-claim-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/cmc-claim-store/merges","archive_url":"https://api.github.com/repos/hmcts/cmc-claim-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/cmc-claim-store/downloads","issues_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/cmc-claim-store/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/cmc-claim-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/cmc-claim-store/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/cmc-claim-store/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/deployments","created_at":"2017-08-30T08:17:34Z","updated_at":"2019-01-03T10:29:38Z","pushed_at":"2019-01-03T14:43:29Z","git_url":"git://github.com/hmcts/cmc-claim-store.git","ssh_url":"git@github.com:hmcts/cmc-claim-store.git","clone_url":"https://github.com/hmcts/cmc-claim-store.git","svn_url":"https://github.com/hmcts/cmc-claim-store","homepage":"","size":5334,"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":4,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":15,"watchers":2,"default_branch":"master"}},"base":{"label":"hmcts:master","ref":"master","sha":"32e5b3d3adfa53774f17a6e1bd9cafcd2f4a81b2","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":101856095,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE4NTYwOTU=","name":"cmc-claim-store","full_name":"hmcts/cmc-claim-store","private":false,"owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hmcts/cmc-claim-store","description":"Backend service for Civil Money Claims","fork":false,"url":"https://api.github.com/repos/hmcts/cmc-claim-store","forks_url":"https://api.github.com/repos/hmcts/cmc-claim-store/forks","keys_url":"https://api.github.com/repos/hmcts/cmc-claim-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/cmc-claim-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/cmc-claim-store/teams","hooks_url":"https://api.github.com/repos/hmcts/cmc-claim-store/hooks","issue_events_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/cmc-claim-store/events","assignees_url":"https://api.github.com/repos/hmcts/cmc-claim-store/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/cmc-claim-store/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/cmc-claim-store/tags","blobs_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/cmc-claim-store/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/cmc-claim-store/languages","stargazers_url":"https://api.github.com/repos/hmcts/cmc-claim-store/stargazers","contributors_url":"https://api.github.com/repos/hmcts/cmc-claim-store/contributors","subscribers_url":"https://api.github.com/repos/hmcts/cmc-claim-store/subscribers","subscription_url":"https://api.github.com/repos/hmcts/cmc-claim-store/subscription","commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/cmc-claim-store/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/cmc-claim-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/cmc-claim-store/merges","archive_url":"https://api.github.com/repos/hmcts/cmc-claim-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/cmc-claim-store/downloads","issues_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/cmc-claim-store/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/cmc-claim-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/cmc-claim-store/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/cmc-claim-store/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/deployments","created_at":"2017-08-30T08:17:34Z","updated_at":"2019-01-03T10:29:38Z","pushed_at":"2019-01-03T14:43:29Z","git_url":"git://github.com/hmcts/cmc-claim-store.git","ssh_url":"git@github.com:hmcts/cmc-claim-store.git","clone_url":"https://github.com/hmcts/cmc-claim-store.git","svn_url":"https://github.com/hmcts/cmc-claim-store","homepage":"","size":5334,"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":4,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":15,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/626"},"html":{"href":"https://github.com/hmcts/cmc-claim-store/pull/626"},"issue":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/626"},"comments":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/626/comments"},"review_comments":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/626/comments"},"review_comment":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/626/commits"},"statuses":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/statuses/04bc0bda2319234df30e954bfb729cd87d0819af"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"sabahirfan"}}